<%= field.label %> <%= (field.required ? content_tag('span', ' *', :class => 'required') : '') %> <% field.options.split(',').each do |option| option.strip! %> <%= f.radio_button field.underscored_name, option, :checked => (option == form_response.send(field.underscored_name)) %> <%= f.label "#{field.underscored_name}_#{option.parameterize('_')}", option %> <% end %>