Sha256: da44cf935bd41ebc721f63ab5503437e9a6d5b0cb269fe23cef96d6b7c3bf7f2
Contents?: true
Size: 869 Bytes
Versions: 15
Compression:
Stored size: 869 Bytes
Contents
<% single_use_links.each do |presenter| %> <tr> <td> <%= t('hyrax.single_use_links.expiration_message', link: presenter.short_key, time: presenter.human_readable_expiration) %> </td> <td> <button class="btn btn-sm btn-secondary copy-single-use-link" data-clipboard-text="<%= hyrax.send(presenter.url_helper, presenter.download_key) %>" data-toggle="tooltip" data-placement="bottom" title="<%= t('hyrax.single_use_links.copy.tooltip') %>"> <%= t('hyrax.single_use_links.copy.button') %> </button> <%= link_to t('hyrax.single_use_links.delete'), hyrax.delete_single_use_link_path(params[:id], presenter), class: 'btn btn-sm btn-danger delete-single-use-link' %> </td> </tr> <% end %>
Version data entries
15 entries across 15 versions & 1 rubygems