<%= form_for @import do |f| %> <%= f.hidden_field :importer_key, value: @import.importer_key %> <%= f.label :import_file %> <%= f.file_field :import_file %>
<%= link_to I18n.t(:sample_file, scope: :rails_importer), sample_imports_path %>
<%= f.submit %> <% end %>