Sha256: d4c577e9baa37b43c53420bda9302ec2d8dc6d73d925694ec0283abde7a6f740

Contents?: true

Size: 846 Bytes

Versions: 2

Compression:

Stored size: 846 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', root_path, class: 'btn btn-default', data: { dismiss: 'modal' } %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
curation_concerns-0.4.0 app/views/collections/_form_to_add_member.html.erb
curation_concerns-0.3.0 app/views/collections/_form_to_add_member.html.erb