mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 19:20:13 +01:00
18 lines
666 B
Text
18 lines
666 B
Text
<div id="display_box">
|
|
<div id="feeds">
|
|
<div id="feedlegend">
|
|
<h2><%= I18n.t "data.import.header" %></h2>
|
|
<div>
|
|
<h3><%= I18n.t "data.import.upload_csv" %></h3>
|
|
<%= form_tag csv_map_data_path, :id => 'upload_form', multipart: true do %>
|
|
<label for="import_to"><%= I18n.t "data.import.target_field" %></label>
|
|
<%= select_tag(:import_to, options_for_select([['Projects', 'projects'], ['Todos', 'todos']], 1) ) %>
|
|
<br><br>
|
|
<%= file_field_tag :file %>
|
|
<%= submit_tag I18n.t("data.import.upload"), :id => "upload_form_submit" %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|