Sha256: 6dcbf791aa83b8b5a2ddf91de96ffa772cdaf0be1f6238a8dc83c032510721df

Contents?: true

Size: 970 Bytes

Versions: 10

Compression:

Stored size: 970 Bytes

Contents

<h1 class="page-title">
  <%= t('csv_import_magic.views.importers.new.title', model_translated: t('activemodel.models.source_value.other')) %>
  <br/>
  <small><%= t('csv_import_magic.views.importers.new.description', model_translated: t('activemodel.models.source_value.other').downcase) %></small>
</h1>

<%= simple_form_for(Importer.new, url: csv_import_magic.importers_path) do |f| %>
  <%= f.input :importable_type, as: :hidden, input_html: { value: '<change this value>' } %>
  <%= f.input :importable_id, as: :hidden, input_html: { value: '<change this value>' } %>
  <%= f.input :source, as: :hidden, input_html: { value: 'source_value' } %>

  <div class="form-row">
    <%= f.input :attachment, as: :file, hint: t('csv_import_magic.views.importers.new.hint').html_safe, required: true %>
  </div>

  <div class='form-row actions'>
    <%= f.submit t('csv_import_magic.views.importers.new.buttons.import'), class: 'button button--primary' %>
  </div>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
csv_import_magic-0.0.11 lib/generators/templates/views/shareds/_csv_importer.html.erb
csv_import_magic-0.0.10 lib/generators/templates/views/shareds/_csv_importer.html.erb
csv_import_magic-0.0.8 lib/generators/templates/views/shareds/_csv_importer.html.erb
csv_import_magic-0.0.7 lib/generators/templates/views/shareds/_csv_importer.html.erb
csv_import_magic-0.0.6 lib/generators/templates/views/shareds/_csv_importer.html.erb
csv_import_magic-0.0.5 lib/generators/templates/views/shareds/_csv_importer.html.erb
csv_import_magic-0.0.4 lib/generators/templates/views/shareds/_csv_importer.html.erb
csv_import_magic-0.0.3 lib/generators/templates/views/shareds/_csv_importer.html.erb
csv_import_magic-0.0.2 lib/generators/templates/views/shareds/_csv_importer.html.erb
csv_import_magic-0.0.1 lib/generators/templates/views/shareds/_csv_importer.html.erb