Files
growstuff/app/views/photos/_hero.html.haml
Daniel O'Connor 3738d7cc21 Seeds > Photos - Fix tests not running and fix tests (#3621)
* Rename, so it runs in CI

* Fix specs slightly

* Fix tests
2024-02-04 15:05:43 +10:30

9 lines
258 B
Plaintext

.photo.hero.jumbotron
.row
.col-6
= image_tag(photo.thumbnail_url, alt: photo.title, class: 'img img-responsive hero-photo')
.col-6
%h3= link_to photo.title, photo
- if photo.date_taken
Taken on #{I18n.l photo.date_taken}