Sha256: 25680e20d5145994b3d3a4b301327403ce957c869a709ede689bed29618190a6
Contents?: true
Size: 1.12 KB
Versions: 5
Compression:
Stored size: 1.12 KB
Contents
<%= simple_form_for [:curation_concern, curation_concern] do |f| %> <% if f.error_notification -%> <div class="alert alert-error 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 'on_behalf_of', curation_concern: curation_concern, f: f %> <%= 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="span12 form-actions"> <%= f.submit class: 'btn btn-primary require-contributor-agreement' %> <%- if curation_concern.new_record? -%> <%= link_to 'Cancel', 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
5 entries across 5 versions & 1 rubygems