Sha256: 5b051a158e90fef8107677171f6e6e5d6c4e3b83cfa193d8fc9dc790ae9bfb24
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
<%# This mimics the generic_files/descriptions partial & re-uses some of its sub-partials %> <div id="descriptions_display" class="tab-pane active"> <%= simple_form_for collection, url: collections.collection_path, html: {multipart: true, class: 'form-horizontal'} do |f| %> <%= hidden_field_tag('redirect_tab', 'descriptions') %> <h2 class="non lower">Descriptions <small class="pull-right"><span class="error">*</span> indicates required fields</small> </h2> <div class="well"> <% (collection.terms_for_editing).each do |term| %> <%= render partial: "records/edit_field", locals: { record: collection, f: f, render_req: true, key: term } %> <% end %> </div><!-- /well --> <div class="action-button"> <%= f.button '<i class="glyphicon glyphicon-floppy-disk"></i> Save Descriptions'.html_safe, type: 'submit', class: 'btn btn-primary', onclick: "confirmation_needed = false;", id: "upload_submit", name: "update_descriptions" %> </div> <% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sufia-5.0.0 | app/views/collections/_edit_descriptions.html.erb |
sufia-5.0.0.rc1 | app/views/collections/_edit_descriptions.html.erb |