Sha256: ad35eee7a461d61766118007d8e7014ea79dcbdcdca2159aae6991bcf26f9587
Contents?: true
Size: 1.11 KB
Versions: 2
Compression:
Stored size: 1.11 KB
Contents
<div id="versioning_display" class="tab-pane"> <h2>Versions</h2> <div class="well"> <%= form_for [main_app, :curation_concerns, 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 "Save Revision" 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
curation_concerns-0.3.0 | app/views/curation_concerns/base/_versioning.html.erb |
curation_concerns-0.2.0 | app/views/curation_concerns/base/_versioning.html.erb |