Sha256: 9e04491728aee97e4e9a522cd0b0ab6d11ee747de69f6a3d6283c74740b07f8c
Contents?: true
Size: 1.06 KB
Versions: 13
Compression:
Stored size: 1.06 KB
Contents
<h2 class="sr-only"><%= t('sufia.collection.actions.header') %></h2> <div class="actions-controls-collections"> <% if can? :edit, presenter.solr_document %> <%= link_to t('sufia.collection.actions.edit.label'), edit_collection_path(presenter), title: t('sufia.collection.actions.edit.desc'), class: 'btn btn-default' %> <%= link_to t('sufia.collection.actions.add_works.label'), sufia.dashboard_works_path(add_files_to_collection: presenter.id), title: t('sufia.collection.actions.add_works.desc'), class: 'btn btn-default' %> <%end %> <% if can? :destroy, presenter.solr_document %> <%= link_to t('sufia.collection.actions.delete.label'), collection_path(presenter), title: t('sufia.collection.actions.delete.desc'), class: 'btn btn-danger', data: { confirm: t('sufia.collection.actions.delete.confirmation'), method: :delete } %> <% end %> </div>
Version data entries
13 entries across 13 versions & 1 rubygems