Sha256: c2475d0ec9aa394e98349c6f717856547f9d9b8bb5b7346270c0812483fd3905
Contents?: true
Size: 1.93 KB
Versions: 1
Compression:
Stored size: 1.93 KB
Contents
<aside id="form-progress" class="form-progress panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><%= t("sufia.works.progress.header") %></h3> </div> <div class="list-group"> <div class="list-group-item"> <fieldset> <legend class="legend-save-work">Requirements</legend> <ul class="requirements"> <li class="incomplete" id="required-metadata">Enter required metadata</li> <% if Sufia.config.work_requires_files %> <li class="incomplete" id="required-files">Add files</li> <% end %> </ul> </fieldset> </div> <div class="set-access-controls list-group-item"> <%= render 'form_visibility_component', f: f %> </div> <% unless current_user.can_make_deposits_for.empty? %> <div class="list-group-item"> <%= f.input :on_behalf_of, collection: current_user.can_make_deposits_for.map(&:user_key), prompt: "Yourself" %> </div> <% end %> </div> <div class="panel-footer text-center"> <% if Sufia.config.active_deposit_agreement_acceptance %> <label> <%= check_box_tag 'agreement', 1, f.object.agreement_accepted, required: true %> <%= t('sufia.active_consent_to_agreement') %><br> <%= link_to t('sufia.deposit_agreement'), sufia.static_path('agreement'), target: '_blank' %> </label> <% else %> <%= t('sufia.passive_consent_to_agreement') %><br> <%= link_to t('sufia.deposit_agreement'), sufia.static_path('agreement'), target: '_blank' %> <% end %> <br> <%= link_to t(:'helpers.action.cancel'), sufia.dashboard_index_path, class: 'btn btn-default' %> <%= f.submit 'Save', class: 'btn btn-primary', onclick: "confirmation_needed = false;", id: "with_files_submit", name: "save_with_files" %> </div> </aside>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sufia-7.1.0 | app/views/curation_concerns/base/_form_progress.html.erb |