Sha256: 215d34d1a7a6fba7b451cf16b50c718c411ec8808f952f75ef435726107a56c9
Contents?: true
Size: 1.06 KB
Versions: 6
Compression:
Stored size: 1.06 KB
Contents
<%= simple_form_for [:curation_concern, curation_concern] 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', curation_concern: curation_concern, f: f %> <%= render 'form_supplementary_fields', curation_concern: curation_concern, f: f %> <%= render 'form_contributor_agreement', curation_concern: curation_concern, contributor_agreement: contributor_agreement %> <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([:curation_concern, curation_concern]), class: 'btn btn-link' %> <%- end -%> </div> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems