photomix/app/views/collections/show.html.erb
2009-06-09 00:30:22 +02:00

8 lines
292 B
Plaintext

<h1><%= h @collection.title %></h1>
<p><%= h @collection.description %></p>
<%= render :partial => @collection.albums %>
<% if has_role?("admin") %>
<br /><%= link_to "Update collection", edit_collection_path(@collection) %>
<% end %>
<br /><%= link_to "All collections", collections_path %>