Sha256: f1ee60185210ed7bf35ee8314f841dde744c074cbd77d5462cb072686d67fde8

Contents?: true

Size: 715 Bytes

Versions: 27

Compression:

Stored size: 715 Bytes

Contents

<%= simple_form_for [main_app, curation_concern], html: { multipart: true } do |f| %>
  <fieldset class="required">
    <span class="control-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

27 entries across 27 versions & 1 rubygems

Version Path
hyrax-2.9.6 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.9.5 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.9.4 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.9.3 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.9.2 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.9.1 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.9.0 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.8.0 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.7.2 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.7.1 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.7.0 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.6.0 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.5.1 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.5.0 app/views/hyrax/file_sets/_form.html.erb
hyrax-3.0.0.pre.beta2 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.4.1 app/views/hyrax/file_sets/_form.html.erb
hyrax-3.0.0.pre.beta1 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.4.0 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.3.3 app/views/hyrax/file_sets/_form.html.erb
hyrax-2.3.2 app/views/hyrax/file_sets/_form.html.erb