Sha256: 73383ab71343f43814d1bed5ab5436caf44064bc4e2f17f192831168f6db9241

Contents?: true

Size: 850 Bytes

Versions: 51

Compression:

Stored size: 850 Bytes

Contents

<%= simple_form_for @form 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_permission', f: f %>
  <%= render "curation_concerns/base/form_media", f: f %>

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

<% end %>

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
curation_concerns-0.13.1 app/views/collections/_form.html.erb
curation_concerns-0.13.0 app/views/collections/_form.html.erb
curation_concerns-0.12.0 app/views/collections/_form.html.erb
curation_concerns-0.12.0.pre9 app/views/collections/_form.html.erb
curation_concerns-0.12.0.pre8 app/views/collections/_form.html.erb
curation_concerns-0.12.0.pre7 app/views/collections/_form.html.erb
curation_concerns-0.12.0.pre6 app/views/collections/_form.html.erb
curation_concerns-0.12.0.pre5 app/views/collections/_form.html.erb
curation_concerns-0.12.0.pre4 app/views/collections/_form.html.erb
curation_concerns-0.12.0.pre3 app/views/collections/_form.html.erb
curation_concerns-0.12.0.pre2 app/views/collections/_form.html.erb