Sha256: 0dead5569ed6d63202925a684b429ac13c026106c2b1e03c64560f7f4f148dcf
Contents?: true
Size: 889 Bytes
Versions: 1
Compression:
Stored size: 889 Bytes
Contents
<% @page_title = "Gallery : #{@gallery.name}" %> <% content_for(:head) do %> <%= auto_discovery_link_tag :atom, {:action => 'show', :format => 'atom'}, {:title => "#{this_webapp.webapp_name} - #{@gallery.name} : Atom Feed }"} %> <% end %> <%= render :partial => 'top_show' %> <% if @sub_content.empty?-%> <p> There are no picture in this gallery. </p> <% else %> <table id="picture_list"> <% @sub_content.each_slice(3) do |slice_content| %> <tr> <% slice_content.each do |content| %> <% if content.kind_of? Picture %> <%= render :partial => 'pictures/picture', :locals => {:picture => content} %> <% else %> <%= render :partial => 'galleries/gallery', :locals => {:gallery => content} %> <% end %> <% end %> </tr> <% end %> </table> <%= will_paginate @sub_content %> <% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pictrails-0.5.0 | app/views/galleries/show.html.erb |