Sha256: 6ff5e80e33e7c8d546ab382fc8902f013ec295c1eb18438affcef7331e6e4d55

Contents?: true

Size: 783 Bytes

Versions: 3

Compression:

Stored size: 783 Bytes

Contents

<% if collector || editor %>
  <div class="form-actions">
    <% if editor %>
      <%= link_to "Edit This #{@presenter.human_readable_type}", edit_polymorphic_path([main_app, @presenter]), class: 'btn btn-default' %>
      <%= link_to "Attach a File", main_app.new_curation_concerns_file_set_path(@presenter), class: 'btn btn-default' %>
      <%= link_to "Delete This #{@presenter.human_readable_type}", [main_app, @presenter], class: 'btn btn-danger pull-right', data: { confirm: "Delete this #{@presenter.human_readable_type}?" }, method: :delete %>
    <% end %>
    <% if collector %>
      <%= render 'collections/add_to_collection_modal', collectible: @presenter %>
      <%= link_to_select_collection @presenter, class: 'btn btn-primary' %>
    <% end %>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
curation_concerns-0.7.0 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.6.0 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.5.0 app/views/curation_concerns/base/_show_actions.html.erb