Sha256: 6cefb011f22de7cc51bb3e421355efa2f23e86151480b8d861428d82da1962dd

Contents?: true

Size: 377 Bytes

Versions: 12

Compression:

Stored size: 377 Bytes

Contents

<h2><%= t("hyrax.works.form.in_collections") %></h2>
<div id="collection-widget">
  <%= f.input :member_of_collection_ids,
              as: :select,
              collection: f.object.collections_for_select,
              selected: f.object.member_of_collections(params[:add_works_to_collection]),
              input_html: { class: 'form-control', multiple: true } %>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hyrax-2.0.3 app/views/hyrax/base/_form_member_of_collections.html.erb
hyrax-2.0.2 app/views/hyrax/base/_form_member_of_collections.html.erb
hyrax-2.0.1 app/views/hyrax/base/_form_member_of_collections.html.erb
hyrax-2.0.0 app/views/hyrax/base/_form_member_of_collections.html.erb
hyrax-2.0.0.rc3 app/views/hyrax/base/_form_member_of_collections.html.erb
hyrax-2.0.0.rc2 app/views/hyrax/base/_form_member_of_collections.html.erb
hyrax-2.0.0.rc1 app/views/hyrax/base/_form_member_of_collections.html.erb
hyrax-2.0.0.beta5 app/views/hyrax/base/_form_member_of_collections.html.erb
hyrax-2.0.0.beta4 app/views/hyrax/base/_form_member_of_collections.html.erb
hyrax-2.0.0.beta3 app/views/hyrax/base/_form_member_of_collections.html.erb
hyrax-2.0.0.beta2 app/views/hyrax/base/_form_member_of_collections.html.erb
hyrax-2.0.0.beta1 app/views/hyrax/base/_form_member_of_collections.html.erb