Sha256: b41d80b4089326b765b17d874f3e1448658de279d1a7fd2449d6457afebc0f2f

Contents?: true

Size: 1.01 KB

Versions: 12

Compression:

Stored size: 1.01 KB

Contents

<%# This mimics the file_sets/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: "file_sets/field_form", locals: { file_set: collection, f: f, render_req: true, key: term } %>
        <% end %>
      </div><!-- /well -->
    <div class="row">
      <div class="form-actions">
        <%= f.button '<i class="icon-save"></i> Save Descriptions'.html_safe, type: 'submit', class: 'btn-primary',
          onclick: "confirmation_needed = false;", id: "upload_submit", name: "update_descriptions" %>
      </div>
    </div>
  <% end %>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
curation_concerns-0.12.0.pre1 app/views/collections/_edit_descriptions.html.erb
curation_concerns-0.11.0 app/views/collections/_edit_descriptions.html.erb
curation_concerns-0.11.0.rc1 app/views/collections/_edit_descriptions.html.erb
curation_concerns-0.10.0 app/views/collections/_edit_descriptions.html.erb
curation_concerns-0.9.0 app/views/collections/_edit_descriptions.html.erb
curation_concerns-0.8.0 app/views/collections/_edit_descriptions.html.erb
curation_concerns-0.7.0 app/views/collections/_edit_descriptions.html.erb
curation_concerns-0.6.0 app/views/collections/_edit_descriptions.html.erb
curation_concerns-0.5.0 app/views/collections/_edit_descriptions.html.erb
curation_concerns-0.4.0 app/views/collections/_edit_descriptions.html.erb
curation_concerns-0.3.0 app/views/collections/_edit_descriptions.html.erb
curation_concerns-0.2.0 app/views/collections/_edit_descriptions.html.erb