% form_tag nil, :id => 'map_fields_form', :method => :post do -%> <% @parameters.each do |arr| -%> <%= hidden_field_tag arr[0], arr[1] %> <% end -%>
<%= select_tag "fields[#{c}]", options_for_select(@fields), :include_blank => true, :class => 'field_options' %> | <% end -%>
---|
<%= h(column) %> | <% end -%>