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 "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
64 entries across 64 versions & 1 rubygems