Sha256: da39e2a2ecdefb2391703074afa9303af0cb2a07d5d6ae2b332ad6c608dc714c
Contents?: true
Size: 826 Bytes
Versions: 6
Compression:
Stored size: 826 Bytes
Contents
<% title @album.title %> <% heading @album.heading %> <% content_for :head do %> <%= stylesheet_link_tag 'dust_album_app' %> <% end -%> <%= @album.desc %> <%= will_paginate @photos %> <div id="uploads"> <% @photos.each do |photo| %> <div class="photo"> <%= link_to image_tag(photo.file.url(:thumb), :alt => photo.desc), photo.file.url(:large), :class => 'group', :rel => "#{@album.title}" %><br /> <%= truncate photo.title, :length => 23 %> </div> <% end -%> </div> <div class="clear"></div> <%= will_paginate @photos %> <% if permitted_to? :manage, :albums %> <p> <%= link_to "Manage Photos", @album %> | <%= link_to "Edit", edit_album_path(@album) %> | <%= link_to "Destroy", @album, :confirm => 'Are you sure?', :method => :delete %> | <%= link_to "View All", albums_path %> </p> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems