Sha256: a0c07ec7c96d03bed6bc2247b96e9764fdd7be924d6c1eaabf452acba829599f

Contents?: true

Size: 1.47 KB

Versions: 27

Compression:

Stored size: 1.47 KB

Contents

<div id="versioning_display" class="tab-pane">
  <h2><%= t('.header') %></h2>
  <%= simple_form_for [main_app, curation_concern], html: { multipart: true } do |f| %>
    <%= hidden_field_tag('redirect_tab', 'versions') %>
    <h3><%= t('.upload') %></h3>
    <%= f.input :files, as: :multifile, wrapper: :vertical_file_input, required: true %>
    <%= f.button :button, name: "update_versioning", id: "upload_submit", onclick: "confirmation_needed = false;", class: "btn btn-primary" do %>
      <%= t('.upload') %>
    <% end %>
  <% end %>

  <%= form_for [main_app, curation_concern],
               html: { class: 'edit_file_set_previous_version' } do |f| %>
    <h3><%= t('.restore') %></h3>
    <% @version_list.each do |version| %>
      <div class="radio">
        <label class="radio <%= version.current? ? 'disabled' : '' %>">
          <%= radio_button_tag(:revision, version.label, false, disabled: version.current?, required: 'required') %>
          <%= version.current? ? t('.current') : t('.restore_from') %>
          <%= version.created %> [by <%= version.committer %>]
        </label>
      </div>
    <% end %>
    <div id="save_version_note" class="alert hide">You must click &quot;Save Revision&quot; to revert a previous version of this file</div>
    <%= f.button :button, name: "revert_submit", id: "revert_submit", onclick: "confirmation_needed = false;", class: "btn btn-primary", type: 'submit' do %>
      <%= t('.save') %>
    <% end %>
  <% end %>
</div> <!-- /row -->

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
hyrax-2.9.6 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.9.5 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.9.4 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.9.3 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.9.2 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.9.1 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.9.0 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.8.0 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.7.2 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.7.1 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.7.0 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.6.0 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.5.1 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.5.0 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-3.0.0.pre.beta2 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.4.1 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-3.0.0.pre.beta1 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.4.0 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.3.3 app/views/hyrax/file_sets/_versioning.html.erb
hyrax-2.3.2 app/views/hyrax/file_sets/_versioning.html.erb