Sha256: 7206ce3b2f4e9d6c3c62f1ae6493b864d44f31d471d90f522e528d4456380879

Contents?: true

Size: 959 Bytes

Versions: 6

Compression:

Stored size: 959 Bytes

Contents

<%= simple_form_for [collections, @collection] 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', curation_concern: @collection, f: f %>
  <%= render 'form_permission', f: f %>

  <%= render "form_representative_image", curation_concern: @collection, f: f %>

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

<% end %>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
curation_concerns-0.1.0 app/views/collections/_form.html.erb
worthwhile-0.1.2 app/views/collections/_form.html.erb
worthwhile-0.1.1 app/views/collections/_form.html.erb
worthwhile-0.1.0 app/views/collections/_form.html.erb
worthwhile-0.0.3 app/views/collections/_form.html.erb
worthwhile-0.0.2 app/views/collections/_form.html.erb