diff --git a/app/views/plantings/show.html.haml b/app/views/plantings/show.html.haml index 21a6d0635..dc5a10f55 100644 --- a/app/views/plantings/show.html.haml +++ b/app/views/plantings/show.html.haml @@ -89,11 +89,11 @@ - else .col-md-12 %p Nothing is currently planned here. - - if @finished_activities&.size&.positive? - %h2 Finished activities for planting - .index-cards - - @finished_activities.each do |activity| - = render "activities/card", activity: activity + - if @finished_activities&.size&.positive? + %h2 Finished activities for planting + .index-cards + - @finished_activities.each do |activity| + = render "activities/card", activity: activity .col-md-4.col-xs-12 = render @planting.crop