Guest User

Untitled

a guest
Mar 23rd, 2018
676
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <% @game_days.each do |day, games| %>
  2.  
  3. <% for game in games %>
  4.  
  5. <%= game.game_external_link %>
  6. <%= image_tag game.photos[0].image.url(:thumb), class:"img-responsive" if game.photos.length > 0 %>
  7. <%= game.game_name %>
  8. <%= game.game_description %>
  9. <%= image_tag avatar_url(game.user) %>
  10.  
  11. <% end %>
  12.  
  13. <% end %>
Add Comment
Please, Sign In to add comment