Sha256: 9c8836c1f29c5204c484465210f070eac4bda9bd820c41d69004f72b7212a950

Contents?: true

Size: 1.24 KB

Versions: 4

Compression:

Stored size: 1.24 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>
<%= 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="row" id="permissions_submit">
    <%= button_tag '<i class="glyphicon glyphicon-floppy-disk"></i> Save'.html_safe, type: 'submit', class: 'btn btn-primary btn-lg',
        onclick: "confirmation_needed = false;", id: "upload_submit", name: "update_permission" %>
  </div>

<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sufia-4.2.0 app/views/batch/edit.html.erb
sufia-4.1.0 app/views/batch/edit.html.erb
sufia-4.0.1 app/views/batch/edit.html.erb
sufia-4.0.0 app/views/batch/edit.html.erb