From e322871740ad66e86443ea0e6bcde91a93b834bf Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Tue, 9 Sep 2025 12:49:17 +0000 Subject: [PATCH] Fix UX --- app/views/plantings/show.html.haml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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