Import <%= l(:label_issue_plural) %> from a CSV File

Step 1 of 2: Select CSV file

<%= "Hi there! You can create new #{l(:label_issue_plural).downcase} in #{Setting.app_title} by importing a CSV (comma separated values) file containing #{l(:label_issue_plural).downcase}. You can click the 'Sample CSV file' link below to download a sample CSV file that contains proper format for each field in #{Setting.app_title}." %>

<% unless @import.errors.blank? %>
<% end %> <%= form_for @import, :url=> project_csv_imports_path, :html => {:class=>"tabular"} do |f| %>

<%= f.file_field :csv, :class=>"file" %>

<%= f.submit "Import CSV" %> <% end %>

<%= link_to "Sample CSV file", download_project_csv_imports_path(:format => "csv") %>