2009-06-03 22:12:11 +02:00
|
|
|
<h1><%= h @collection.title %></h1>
|
|
|
|
<p><%= h @collection.description %></p>
|
2009-06-03 01:33:39 +02:00
|
|
|
<%= render :partial => @collection.albums %>
|
2009-06-03 22:12:11 +02:00
|
|
|
|
2009-06-09 00:30:22 +02:00
|
|
|
<% if has_role?("admin") %>
|
2009-06-03 22:12:11 +02:00
|
|
|
<br /><%= link_to "Update collection", edit_collection_path(@collection) %>
|
2009-06-08 16:16:30 +02:00
|
|
|
<% end %>
|
2009-06-03 22:12:11 +02:00
|
|
|
<br /><%= link_to "All collections", collections_path %>
|