Sha256: 6289aaafe794b272812b28b1408f140f5e392ff6964c7143762836d5f1a05191

Contents?: true

Size: 772 Bytes

Versions: 2

Compression:

Stored size: 772 Bytes

Contents

<% content_for :page_title, curation_concern_page_title(@collection) %>
<% content_for :page_header do %>
  <h1> <%= @collection.title %> </h1>
<% end %>
<% if can? :edit, @collection %>
  <% content_for :page_actions do %>

  <%= button_to(
    "Delete",
    {
      action: :destroy,
      controller: :collections,
      id: @collection.id
    },
    data: {confirm: 'Are you sure you want to delete this collection?'},
    class: 'btn',
    form_class: 'button-to pull-right',
    method: :delete
  )%>

    <%= link_to 'Edit', edit_collection_path(@collection), class: 'btn' %>
  <% end %>
<% end %>
<div class="collection-description">
  <%= @collection.description %>
</div>

<div id="documents" class="clear">
  <%= list_items_in_collection(@collection) %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
curate-0.6.5 app/views/curate/collections/show.html.erb
curate-0.6.4 app/views/curate/collections/show.html.erb