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