Sha256: bfe2be08c95ba31cccfbd1dc80f6d336eaa75033fea77fd89abdaf61fabe8596

Contents?: true

Size: 926 Bytes

Versions: 57

Compression:

Stored size: 926 Bytes

Contents

<%= simple_form_for [main_app, @form],
                    wrapper_mappings: { multifile: :horizontal_file_input } do |f| %>
  <% if f.error_notification -%>
    <div class="alert alert-danger fade in">
      <strong>Wait don't go!</strong> There was a problem with your submission. Please review the errors below:
      <a class="close" data-dismiss="alert" href="#">&times;</a>
    </div>
  <% end %>

  <%= render 'form_descriptive_fields', f: f %>
  <%= render 'form_supplementary_fields', f: f %>

  <div class="row">
    <div class="col-md-12 form-actions">
      <%= f.submit class: 'btn btn-primary require-contributor-agreement' %>
      <% if curation_concern.new_record? %>
        <%= link_to 'Cancel', main_app.root_path, class: 'btn btn-link' %>
      <% else %>
        <%= link_to 'Cancel', polymorphic_path([main_app, curation_concern]), class: 'btn btn-link' %>
      <% end %>
    </div>
  </div>
<% end %>

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
curation_concerns-1.7.3 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.7.2 app/views/curation_concerns/base/_form.html.erb
curation_concerns-2.0.0.rc1 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.7.1 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.7.0 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.7.0.beta1 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.6.3 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.6.2 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.6.1 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.6.0 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.5.0 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.4.0 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.3.3 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.3.2 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.3.1 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.3.0 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.2.0 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.1.2 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.1.1 app/views/curation_concerns/base/_form.html.erb
curation_concerns-1.1.0 app/views/curation_concerns/base/_form.html.erb