photomix/app/views/collections/show.html.erb

12 lines
501 B
Plaintext
Raw Normal View History

2012-07-29 00:33:03 +02:00
<h2><%= @collection.title %></h2>
<p><%= @collection.description %></p>
2009-06-03 22:12:11 +02:00
2012-07-29 00:33:03 +02:00
<%= render :partial => 'albums/row_collections' %>
2009-06-11 13:05:09 +02:00
2011-04-25 07:54:40 +02:00
<%= content_for :action_links do %>
2012-07-29 00:33:03 +02:00
<% 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 %>
2009-06-16 21:43:03 +02:00
<% end %>