Sha256: 2e1b0354e458627432e10ce2cf097224fa429fec2e81ce894241e5bebd215c0f
Contents?: true
Size: 910 Bytes
Versions: 11
Compression:
Stored size: 910 Bytes
Contents
<div class="form-actions"> <% if Hyrax.config.analytics? %> <% # turbolinks needs to be turned off or the page will use the cache and the %> <% # analytics graph will not show unless the page is refreshed. %> <%= link_to t('.analytics'), @presenter.stats_path, id: 'stats', class: 'btn btn-secondary', data: { turbolinks: false } %> <% end %> <% if @presenter.editor? && !workflow_restriction?(@presenter) %> <%= link_to t(".edit_this", type: @presenter.human_readable_type), edit_polymorphic_path([main_app, @presenter]), class: 'btn btn-secondary' %> <%= link_to t(".delete_this", type: @presenter.human_readable_type), [main_app, @presenter], class: 'btn btn-danger', data: { confirm: t(".confirm_delete_this", type: @presenter.human_readable_type) }, method: :delete %> <% end %> <%= render 'social_media' %> </div>
Version data entries
11 entries across 11 versions & 1 rubygems