From ebf1468652f20e6072c709b4cf4b4066df19e464 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Sun, 28 May 2017 18:07:19 +1200 Subject: [PATCH] Fix up small haml nexting bug --- app/views/gardens/show.html.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/gardens/show.html.haml b/app/views/gardens/show.html.haml index a627f30ca..e03214b1b 100644 --- a/app/views/gardens/show.html.haml +++ b/app/views/gardens/show.html.haml @@ -63,13 +63,13 @@ .col-md-12 %p Nothing is currently planted here. %h3 Previously planted in this garden - - if @finished_plantings.size.positive? - .row + .row + - if @finished_plantings.size.positive? - @finished_plantings.each do |planting| .col-xs-6.col-md-2 = render partial: "plantings/thumbnail", locals: { planting: planting } - - else - %p Nothing has been planted here. + - else + %p Nothing has been planted here. .col-md-3 %h4 About this garden %p