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

8 lines
199 B
Plaintext
Raw Normal View History

2009-06-20 16:30:54 +02:00
<h2><%= h @collection.title %></h2>
<p><%= h @collection.description %></p>
<% for album in @collection.albums %>
<h3><%= album.title %></h3>
<p><%= render :partial => album.photos %></p>
<% end %>