Sha256: b8e93bed55582c5346834fbd2de6d2d8e2a16fb71b3d555c7ed275ad5172f361

Contents?: true

Size: 1.15 KB

Versions: 3

Compression:

Stored size: 1.15 KB

Contents

<%= javascript_tag do %>
  <%= render partial: "edit", formats: [:js] %>
<% end %>

<h1>Apply Metadata</h1>
<p>
  The information you provide for Title will be applied to the corresponding file only; however all other
  information you provide will be applied <em>to the entire batch of files</em> you have just
  deposited into <%= t('sufia.product_name') %>. You may edit individual files from
  <%= link_to "<i class='glyphicon glyphicon-dashboard'></i> #{t('sufia.bread_crumb.file_list')}".html_safe, sufia.dashboard_files_path %>
  once this step is finished. <span class="required"><abbr title="required">*</abbr></span> indicates required fields.
</p>
<%= simple_form_for [sufia, @batch, @form], html: { multipart: true }, builder: Sufia::FormBuilder do |f| %>

  <%= render 'metadata', f: f %>

  <%= render 'generic_files/permission_form', f: f, batch: @batch %>

  <div class="row" id="permissions_submit">
    <%= button_tag type: 'submit', class: 'btn btn-primary btn-lg',
        onclick: "confirmation_needed = false;", id: "upload_submit", name: "update_permission" do %>
      <i class="glyphicon glyphicon-floppy-disk"></i> Save
    <% end %>
  </div>

<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sufia-6.0.0.rc3 app/views/batch/edit.html.erb
sufia-6.0.0.rc2 app/views/batch/edit.html.erb
sufia-6.0.0.rc1 app/views/batch/edit.html.erb