Sha256: 5fa9642e88421e6a9b2dd057283d8bdcd5cd8b684d15bda79b91d2cbae4724fe

Contents?: true

Size: 1.09 KB

Versions: 64

Compression:

Stored size: 1.09 KB

Contents

<div id="versioning_display" class="tab-pane">
  <h2>Versions</h2>
  <div class="well">

    <%= form_for [main_app, curation_concern], html: { multipart: true } do |f| %>
    <h3>Restore Previous Version</h3>
    <% @version_list.each do |version| %>
      <div class="form-group">
        <div class="col-xs-12">
          <label class="radio <%= version.current? ? 'disabled' : '' %>">
            <%= radio_button_tag(:revision, version.label, false, disabled: version.current?, required: 'required') %>
            <%= version.current? ? 'Current version:' : 'Restore from' %>
            <%= version.created %> [by <%= version.committer %>]
          </label>
        </div>
      </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 '<i class="glyphicon glyphicon-save"></i> Save Revision'.html_safe, type: 'submit', class: 'btn btn-primary', onclick: "confirmation_needed = false;", name: "revert_submit", id: "revert_submit" %>
  <% end %>

  </div> <!-- /well -->
</div> <!-- /row -->

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.7.7 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-2.0.0 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-2.0.0.rc2 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.7.6 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.7.5 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.7.4 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.7.3 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.7.2 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-2.0.0.rc1 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.7.1 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.7.0 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.7.0.beta1 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.6.3 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.6.2 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.6.1 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.6.0 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.5.0 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.4.0 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-1.3.3 app/views/curation_concerns/base/_versioning.html.erb