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-0.12.0.pre8 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.12.0.pre7 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.12.0.pre6 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.12.0.pre5 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.12.0.pre4 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.12.0.pre3 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.12.0.pre2 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.12.0.pre1 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.11.0 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.11.0.rc1 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.10.0 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.9.0 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.8.0 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.7.0 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.6.0 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.5.0 app/views/curation_concerns/base/_form.html.erb
curation_concerns-0.4.0 app/views/curation_concerns/base/_form.html.erb