Sha256: 4c928428ab9d71f3b942751c559eded0862020eb6ee545f79b8f432e57ee4ec1

Contents?: true

Size: 575 Bytes

Versions: 1

Compression:

Stored size: 575 Bytes

Contents

<%= render 'form_in_works', f: f %>
<h2><%= t("sufia.works.#{action_name}.in_collections") %></h2>
<div id="collection-widget">
  <%= f.input :collection_ids, as: :select,
              collection: available_collections(nil),
              input_html: { class: 'form-control', multiple: true } %>
</div>

<% if params[:id] %>
  <h3><%= t("sufia.works.#{action_name}.in_this_work") %></h3>
  <%= render 'form_child_work_relationships', f: f %>

  <h3><%= t("sufia.works.#{action_name}.in_other_works") %></h3>
  <%= render_edit_field_partial(:in_works_ids, f: f) %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sufia-7.1.0 app/views/curation_concerns/base/_form_relationships.html.erb