Sha256: fab990ca4cb3f637ddf0d87618e0a2d11caa9e07b2842b5baf0d05e31f30a8e7
Contents?: true
Size: 1.36 KB
Versions: 3
Compression:
Stored size: 1.36 KB
Contents
<div class="panel-body card-body"> <% if importer.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(importer.errors.count, "error") %> prohibited this importer from being saved:</h2> <ul> <% importer.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %> <%= form.input :name, input_html: { class: 'form-control' } %> <%= form.input :admin_set_id, collection: available_admin_sets if defined?(::Hyrax) %> <%= form.hidden_field :user_id, value: current_user.id %> <%= form.input :frequency, collection: form.object.class.frequency_enums, input_html: { class: 'form-control' } %> <%= form.input :limit, as: :integer, hint: 'leave blank or 0 for all records', input_html: { class: 'form-control'} %> <%= form.input :parser_klass, collection: Bulkrax.parsers.map {|p| [p[:name], p[:class_name], {'data-partial' => p[:partial]}]}, label: "Parser", input_html: { class: 'form-control' } %> <%= form.fields_for :parser_fields do |fi| %> <div class='parser_fields'> <p>Specific fields for each parser are available only when a parser is selected</p> <% Bulkrax.parsers.map {|p| p[:partial]}.uniq.each do |partial| %> <%= render partial: partial, locals: {form: form, fi: fi, importer: importer} %> <% end %> </div> <% end %> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bulkrax-9.0.2 | app/views/bulkrax/importers/_form.html.erb |
bulkrax-9.0.1 | app/views/bulkrax/importers/_form.html.erb |
bulkrax-9.0.0 | app/views/bulkrax/importers/_form.html.erb |