Sha256: 64424eade68838259635c59f04efea6aa8fee4467bfbcd07574c74a414b5bb0d
Contents?: true
Size: 1013 Bytes
Versions: 5
Compression:
Stored size: 1013 Bytes
Contents
<%# This mimics the generic_files/descriptions partial & re-uses some of its sub-partials %> <div id="descriptions_display" class="tab-pane active"> <%= 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="row"> <%= 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
5 entries across 5 versions & 1 rubygems