Sha256: a866bf93a3ecb2f4bc6502c8b74bf7d91d9dc75bc67ac55f3dbab4bd9f4b3cf9

Contents?: true

Size: 855 Bytes

Versions: 9

Compression:

Stored size: 855 Bytes

Contents

<% fieldset_class  ||= '' %>
<% select_label_id ||= '' %>

<%= form_tag collections.collections_path, method: :put do %>
  <fieldset class="required <%= fieldset_class %>">
    <%= hidden_field_tag 'collection[members]', 'add' %>
    <%= hidden_field_tag 'batch_document_ids[]', collectible.id %>

    <div class="form-group collection_id">
      <div class="controls">
        <%= select_tag :id, collection_options_for_select(collectible), prompt: 'Make a Selection',
          class: 'form-control', :'aria-labelledby' => select_label_id, required: 'required' %>
      </div>
    </div>

  </fieldset>
  <div class="form-actions with-side-padding with-footroom">
    <%= submit_tag "Add to collection", class: 'btn btn-primary' %>
    <%= link_to 'Cancel', main_app.root_path, class: 'btn btn-default', data: { dismiss: 'modal' } %>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

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