Fix up small haml nexting bug

This commit is contained in:
Brenda Wallace committed 2017-05-28 18:07:19 +12:00
1 parent 4726b57c47
commit ebf1468652
1 file changed
+4 -4
+4 -4
View File
@@ -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