Sha256: 1e35ce64c99550a366580ca9d94f3d541a178f1669bc9baf61ca862da329b8cb

Contents?: true

Size: 737 Bytes

Versions: 11

Compression:

Stored size: 737 Bytes

Contents

<%= simple_form_for [main_app, curation_concern], html: { multipart: true, class: 'nav-safety' } do |f| %>
  <fieldset class="required">
    <span class="col-form-label">
      <%= label_tag 'file_set[title][]', t('.title'),  class: "string optional" %>
    </span>
    <%= text_field_tag 'file_set[title][]', curation_concern.title.first, class: 'form-control', required: true %>
  </fieldset>

  <div class="row">
    <div class="col-md-12 form-actions">
      <%= f.submit(
        (curation_concern.persisted? ? t('.save') : t('.attach_to', parent: @parent.human_readable_type)),
        class: 'btn btn-primary'
      ) %>
      <%= link_to t('.cancel'), parent_path(@parent), class: 'btn btn-link' %>
    </div>
  </div>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/views/hyrax/file_sets/_form.html.erb
hyrax-5.0.0 app/views/hyrax/file_sets/_form.html.erb
hyrax-5.0.0.rc3 app/views/hyrax/file_sets/_form.html.erb
hyrax-5.0.0.rc2 app/views/hyrax/file_sets/_form.html.erb
hyrax-5.0.0.rc1 app/views/hyrax/file_sets/_form.html.erb
hyrax-4.0.0 app/views/hyrax/file_sets/_form.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/file_sets/_form.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/file_sets/_form.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/file_sets/_form.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/file_sets/_form.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/file_sets/_form.html.erb