Sha256: 8517a6ab918bd5d7e25fbcc637109faad0c8a3d57065a8f1ff18776a26b385dd
Contents?: true
Size: 1.11 KB
Versions: 4
Compression:
Stored size: 1.11 KB
Contents
<h2 class="sr-only"><%= t('hyrax.collection.actions.header') %></h2> <div class="actions-controls-collections"> <% if can? :edit, presenter.solr_document %> <%= link_to t('hyrax.collection.actions.edit.label'), edit_dashboard_collection_path(presenter), title: t('hyrax.collection.actions.edit.desc'), class: 'btn btn-default' %> <%= link_to t('hyrax.collection.actions.add_works.label'), hyrax.my_works_path(add_works_to_collection: presenter.id), title: t('hyrax.collection.actions.add_works.desc'), class: 'btn btn-default', data: { turbolinks: false } %> <%end %> <% if can? :destroy, presenter.solr_document %> <%= link_to t('hyrax.collection.actions.delete.label'), collection_path(presenter), title: t('hyrax.collection.actions.delete.desc'), class: 'btn btn-danger', data: { confirm: t('hyrax.collection.actions.delete.confirmation'), method: :delete } %> <% end %> </div>
Version data entries
4 entries across 4 versions & 1 rubygems