Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .row-fluid
- = debug params
- = paginate @themes
- - @themes.each_slice(2) do |themes|
- .row-fluid
- - themes.each do |theme|
- .span6
- .theme
- .flag
- %span{:class => "price"}= "$#{theme.price.to_i}"
- %span
- = image_tag ("flag_shoppingCart.png")
- %span.sold= 400
- .preview
- = link_to image_tag(theme.image_url.to_s), user_theme_path(theme.user, theme)
- %footer
- %span.thumb
- - if !theme.user.avatar.blank?
- = link_to image_tag(theme.user.avatar_url(:med_thumb).to_s), user_path(theme.user)
- - else
- = link_to image_tag("gravatar.jpg", :class => "thumb"), user_path(theme.user)
- %h1.title
- = theme.title
- %span.author
- by
- = link_to theme.user_name, user_path(theme.user)
Advertisement
Add Comment
Please, Sign In to add comment