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

8 lines
292 B
Plaintext
Raw Normal View History

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) %>
<% end %>
2009-06-03 22:12:11 +02:00
<br /><%= link_to "All collections", collections_path %>