Sha256: 1b81ef912d27bceb26ce57bd8d07439b7d4dff045ba82e2dd22612adc36b2343

Contents?: true

Size: 915 Bytes

Versions: 26

Compression:

Stored size: 915 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 t("file_manager.link_text"), polymorphic_path([main_app, :file_manager, @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-default' %>
    <% end %>
  </div>
<% end %>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
curation_concerns-1.0.0.beta6 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-1.0.0.beta5 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-1.0.0.beta4 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-1.0.0.beta3 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-1.0.0.beta2 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-1.0.0.beta1 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.14.0 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.14.0.pre4 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.14.0.pre3 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.14.0.pre2 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.14.0.pre1 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.13.1 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.13.0 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.12.0 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.12.0.pre9 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.12.0.pre8 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.12.0.pre7 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.12.0.pre6 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.12.0.pre5 app/views/curation_concerns/base/_show_actions.html.erb
curation_concerns-0.12.0.pre4 app/views/curation_concerns/base/_show_actions.html.erb