From 4d95130216bbd5bdb873c6ec3ea35393ec2c48dd Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Fri, 29 Mar 2019 15:48:57 +1300 Subject: [PATCH] Move phtos to a gallery --- app/views/photos/_gallery.haml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 app/views/photos/_gallery.haml diff --git a/app/views/photos/_gallery.haml b/app/views/photos/_gallery.haml new file mode 100644 index 000000000..9954ea226 --- /dev/null +++ b/app/views/photos/_gallery.haml @@ -0,0 +1,4 @@ +.col-md-12 + %h2 Photos +- @photos.each do |photo| + .col-md-6.col-xs-12= render('photos/thumbnail', photo: photo)