tracks/app/views/data/csv_map.html.erb

12 lines
355 B
Text
Raw Normal View History

<h3><%= I18n.t 'data.import.map_title' %><h3>
<%= form_tag csv_import_data_path do %>
<% @labels.each do |l| %>
2014-08-14 21:05:05 -05:00
<%= label_tag l %>:
<%= select_tag(l, options_for_select(@headers) ) %>
<br>
<% end %>
2013-09-16 11:37:16 +02:00
<%= hidden_field_tag :file, @filename %>
<%= hidden_field_tag :import_to, @import_to %>
<%= submit_tag I18n.t("data.import.submit") %>
2014-08-14 21:05:05 -05:00
<% end %>