Switch to iterator
This commit is contained in:
parent
2d8e1a43b0
commit
5e8dd243a3
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
||||||
p.subtitle = @package.description
|
p.subtitle = @package.description
|
||||||
|
|
||||||
ul.small-block-grid-1.medium-block-grid-2.large-block-grid-2
|
ul.small-block-grid-1.medium-block-grid-2.large-block-grid-2
|
||||||
- for screenshot in @package.screenshots
|
- @package.screenshots.each do |screenshot|
|
||||||
li
|
li
|
||||||
a.black.fancybox href=screenshot.image.url(:large, timestamp: false) rel='fancybox-thumb' title=screenshot.caption
|
a.black.fancybox href=screenshot.image.url(:large, timestamp: false) rel='fancybox-thumb' title=screenshot.caption
|
||||||
= image_tag(screenshot.image.url(:large, timestamp: false), alt: screenshot.caption)
|
= image_tag(screenshot.image.url(:large, timestamp: false), alt: screenshot.caption)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue