Created
January 30, 2013 20:19
-
-
Save anonymous/4676514 to your computer and use it in GitHub Desktop.
haml thumbnails
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
%div.container | |
%div.content | |
%div.row | |
%div.span12 | |
%div.container | |
%ul.thumbnails | |
-for album in @albums | |
%li.span3 | |
%div.thumbnail | |
= link_to album do | |
= image_tag album.cover_art.url(:medium) | |
%h3 | |
= link_to album.name, album, style: "color:black;" | |
%h5 | |
= link_to album.artist, album, style: "color:#1c2f60;" | |
%h6 | |
= album.year |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment