Skip to content

Instantly share code, notes, and snippets.

@lucascaton
Created April 25, 2011 23:25
Show Gist options
  • Save lucascaton/941476 to your computer and use it in GitHub Desktop.
Save lucascaton/941476 to your computer and use it in GitHub Desktop.
.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