master
states = form.getValue('states').map (state) -> "<span class=\"label label-primary\">#{state}</span>"