<% yield %> <% form ||= current_fields_form html_options ||= {} html_options[:id] ||= id_for(form, method) multiple ||= false other_options ||= {} options ||= options_for(form, method) labels = labels_for(form, method) %> <%= render 'shared/fields/field', form: form, method: method, options: html_options, other_options: other_options do %> <% content_for :field do %>
<% options.each do |value, label| %> <% end %>
<% end %> <% end %>