12 lines
501 B
Plaintext
12 lines
501 B
Plaintext
<h2><%= @collection.title %></h2>
|
|
<p><%= @collection.description %></p>
|
|
|
|
<%= render :partial => 'albums/row_collections' %>
|
|
|
|
<%= content_for :action_links do %>
|
|
<% if current_user and current_user.has_role?("admin") %>
|
|
<li><%= link_to "PDF", collection_path(@collection, :format => 'pdf') %></li>
|
|
<li><%= link_to "Edit collection", edit_collection_path(@collection) %></li>
|
|
<li><%= link_to "New album", new_collection_album_path(@collection) %></li>
|
|
<% end %>
|
|
<% end %> |