Created
February 1, 2009 19:47
-
-
Save brandon-beacher/55964 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- require "enumerator" | |
#Images | |
- if images.empty? | |
%h4 No images | |
- else | |
- images.each_slice(3) do |slice| | |
.row | |
- slice.each do |image| | |
.image | |
= link_to image_tag(image.public_filename(:web)), management_image_path(@parish, image) | |
= link_to image.name, management_image_path(@parish, image) | |
= ago image.updated | |
#Pagination= will_paginate images |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment