mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 11:10:12 +01:00
11 lines
323 B
Text
11 lines
323 B
Text
<h3>Map fields to be imported<h3>
|
|
<%= form_tag csv_import_data_path do %>
|
|
<% @labels.each do |l| %>
|
|
<%= label_tag l %>:
|
|
<%= select_tag(l, options_for_select(@headers) ) %>
|
|
<br>
|
|
<% end %>
|
|
<%= hidden_field_tag :file, @filename %>
|
|
<%= hidden_field_tag :import_to, @import_to %>
|
|
<%= submit_tag "Import" %>
|
|
<% end %>
|