Sha256: 8b230d6491ad1991c6f52a0663ea3ea194e488bae9146d970afc7fa6a322a4b2
Contents?: true
Size: 1000 Bytes
Versions: 3
Compression:
Stored size: 1000 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="#">×</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' %> <%= link_to "Delete", [main_app, @form], class: 'btn btn-danger pull-right', data: { confirm: "Delete this Collection?" }, method: :delete %> <% else %> <%= link_to 'Cancel', main_app.root_path, class: 'btn btn-link' %> <% end %> </div> </div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems