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-5.0.1 app/views/hyrax/base/_form_in_works.html.erb
hyrax-5.0.0 app/views/hyrax/base/_form_in_works.html.erb
hyrax-5.0.0.rc3 app/views/hyrax/base/_form_in_works.html.erb
hyrax-5.0.0.rc2 app/views/hyrax/base/_form_in_works.html.erb
hyrax-5.0.0.rc1 app/views/hyrax/base/_form_in_works.html.erb
hyrax-3.6.0 app/views/hyrax/base/_form_in_works.html.erb
hyrax-4.0.0 app/views/hyrax/base/_form_in_works.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/base/_form_in_works.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/base/_form_in_works.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/base/_form_in_works.html.erb
hyrax-3.5.0 app/views/hyrax/base/_form_in_works.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/base/_form_in_works.html.erb
hyrax-3.4.2 app/views/hyrax/base/_form_in_works.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/base/_form_in_works.html.erb
hyrax-3.4.1 app/views/hyrax/base/_form_in_works.html.erb
hyrax-3.4.0 app/views/hyrax/base/_form_in_works.html.erb
hyrax-3.3.0 app/views/hyrax/base/_form_in_works.html.erb
hyrax-3.2.0 app/views/hyrax/base/_form_in_works.html.erb
hyrax-2.9.6 app/views/hyrax/base/_form_in_works.html.erb
hyrax-3.1.0 app/views/hyrax/base/_form_in_works.html.erb