Sha256: 4e18a8136768932cbce8188ad4ae114cca152e1ccc3dcabf7af5677150a34773

Contents?: true

Size: 1.25 KB

Versions: 2

Compression:

Stored size: 1.25 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-field">*</span> indicates required fields.
</p>
<%= simple_form_for([@batch, @generic_file], url: sufia.batch_generic_files_path, html: { multipart: true, class: 'form-horizontal' }) do |f| %>

  <%= render partial: 'metadata', formats: [:html], locals: {f: f} %>

  <%= render partial: 'generic_files/permission_form', formats: [:html], locals: { gf: @generic_file, batch: @batch } %>

  <div class="action-button" id="permissions_submit">
    <%= button_tag '<i class="glyphicon glyphicon-floppy-disk"></i> Save'.html_safe, type: 'submit', class: 'btn btn-primary',
        onclick: "confirmation_needed = false;", id: "upload_submit", name: "update_permission" %>
  </div>

<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sufia-5.0.0 app/views/batch/edit.html.erb
sufia-5.0.0.rc1 app/views/batch/edit.html.erb