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-0.14.0.pre3 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.14.0.pre2 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.14.0.pre1 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.13.1 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.13.0 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.12.0 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.12.0.pre9 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.12.0.pre8 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.12.0.pre7 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.12.0.pre6 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.12.0.pre5 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.12.0.pre4 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.12.0.pre3 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.12.0.pre2 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.12.0.pre1 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.11.0 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.11.0.rc1 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.10.0 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.9.0 app/views/curation_concerns/base/_versioning.html.erb
curation_concerns-0.8.0 app/views/curation_concerns/base/_versioning.html.erb