Sha256: 675cf588e1781e76658bcb08848572cfb803085aff70b57373ac93b94f93b720

Contents?: true

Size: 280 Bytes

Versions: 115

Compression:

Stored size: 280 Bytes

Contents

<% if params[:parent_id] %>
  <% (f.object.in_works_ids + [params[:parent_id]]).uniq.each do |work_id| %>
    <%= f.input :in_works_ids, as: :hidden, input_html: { value: work_id, multiple: true } %>
  <% end %>
  <%= hidden_field_tag 'parent_id', params[:parent_id] %>
<% end %>

Version data entries

115 entries across 115 versions & 3 rubygems

Version Path
hyrax-1.0.1 app/views/hyrax/base/_form_in_works.html.erb
hyrax-1.0.0.rc2 app/views/hyrax/base/_form_in_works.html.erb
curation_concerns-1.7.7 app/views/curation_concerns/base/_form_in_works.html.erb
curation_concerns-2.0.0 app/views/curation_concerns/base/_form_in_works.html.erb
curation_concerns-2.0.0.rc2 app/views/curation_concerns/base/_form_in_works.html.erb
hyrax-1.0.0.rc1 app/views/hyrax/base/_form_in_works.html.erb
curation_concerns-1.7.6 app/views/curation_concerns/base/_form_in_works.html.erb
curation_concerns-1.7.5 app/views/curation_concerns/base/_form_in_works.html.erb
test_hyrax-0.0.1.alpha app/views/hyrax/base/_form_in_works.html.erb
curation_concerns-1.7.4 app/views/curation_concerns/base/_form_in_works.html.erb
curation_concerns-1.7.3 app/views/curation_concerns/base/_form_in_works.html.erb
curation_concerns-1.7.2 app/views/curation_concerns/base/_form_in_works.html.erb
curation_concerns-2.0.0.rc1 app/views/curation_concerns/base/_form_in_works.html.erb
curation_concerns-1.7.1 app/views/curation_concerns/base/_form_in_works.html.erb
curation_concerns-1.7.0 app/views/curation_concerns/base/_form_in_works.html.erb
curation_concerns-1.7.0.beta1 app/views/curation_concerns/base/_form_in_works.html.erb
curation_concerns-1.6.3 app/views/curation_concerns/base/_form_in_works.html.erb
curation_concerns-1.6.2 app/views/curation_concerns/base/_form_in_works.html.erb
curation_concerns-1.6.1 app/views/curation_concerns/base/_form_in_works.html.erb
curation_concerns-1.6.0 app/views/curation_concerns/base/_form_in_works.html.erb