Created
April 25, 2011 23:25
-
-
Save lucascaton/941476 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
.block | |
.content | |
%h2.title="##{@person.id} #{@person.name}" | |
.inner | |
%h3 Filmes | |
%table.table | |
%tr | |
%th.first Image | |
%th=t 'activerecord.attributes.movie.name' | |
-@movie_casts.each do |movie_cast| | |
%tr{:class => cycle('odd', 'even')} | |
%td=image_tag thumb_movie_poster_url(movie_cast.movie) | |
%td=link_to movie_cast.movie.name, movie_cast.movie |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment