Sha256: b7b645ff2511da4438bdf92f0d876febede17af1189d1bef8c452c62b7b9222f

Contents?: true

Size: 814 Bytes

Versions: 11

Compression:

Stored size: 814 Bytes

Contents

<% if @import.errors.any? %>
  <div class="alert alert-danger mb-4" role="alert">
    <h2 class="h4" class="alert-heading"><%= pluralize(@import.errors.count, "error") %> prohibited this import from being saved</h2>
    <ol class="mb-0">
      <% @import.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
    </ol>
  </div>
<% end %>

<div class="form-inputs">
  <%= f.input :name, {autofocus: true} %>
  <%= f.input :source %>
  <%= f.input :description %>
  <%= f.file_field :csv_file, direct_upload: true %>
  <%= f.input :type, collection:[
      ['BTAA CSV', 'ImportBtaa'],
      ['Solr BTAA Aardvark CSV', 'ImportBtaaAardvark'],
      ['Solr GBLv1 CSV', 'ImportGblv1']
    ]
  %>
</div>

<div class="form-actions">
  <%= f.button :submit, {class: 'btn btn-primary'} %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
geoblacklight_admin-0.5.1 app/views/admin/imports/_form.html.erb
geoblacklight_admin-0.5.0 app/views/admin/imports/_form.html.erb
geoblacklight_admin-0.4.2 app/views/admin/imports/_form.html.erb
geoblacklight_admin-0.4.1 app/views/admin/imports/_form.html.erb
geoblacklight_admin-0.4.0 app/views/admin/imports/_form.html.erb
geoblacklight_admin-0.3.2 app/views/admin/imports/_form.html.erb
geoblacklight_admin-0.3.1 app/views/admin/imports/_form.html.erb
geoblacklight_admin-0.3.0 app/views/admin/imports/_form.html.erb
geoblacklight_admin-0.2.1 app/views/admin/imports/_form.html.erb
geoblacklight_admin-0.1.0 app/views/admin/imports/_form.html.erb
geoblacklight_admin-0.0.1 app/views/admin/imports/_form.html.erb