Sha256: 1b51ed62158f40c3184edb21360c96505b7474cfbecbced12ef21a4428206bae

Contents?: true

Size: 852 Bytes

Versions: 54

Compression:

Stored size: 852 Bytes

Contents

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

<%= form_tag main_app.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

54 entries across 54 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.7.7 app/views/collections/_form_to_add_member.html.erb
curation_concerns-2.0.0 app/views/collections/_form_to_add_member.html.erb
curation_concerns-2.0.0.rc2 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.7.6 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.7.5 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.7.4 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.7.3 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.7.2 app/views/collections/_form_to_add_member.html.erb
curation_concerns-2.0.0.rc1 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.7.1 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.7.0 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.7.0.beta1 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.6.3 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.6.2 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.6.1 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.6.0 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.5.0 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.4.0 app/views/collections/_form_to_add_member.html.erb
curation_concerns-1.3.3 app/views/collections/_form_to_add_member.html.erb