From bb400dabdaed0430a4af9830d34571dd1cdf8258 Mon Sep 17 00:00:00 2001 From: Brenda Date: Sat, 29 Feb 2020 13:37:27 +1300 Subject: [PATCH] Add new garden button on modal planting form --- app/views/plantings/_modal.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/plantings/_modal.html.haml b/app/views/plantings/_modal.html.haml index b88854692..a4e695893 100644 --- a/app/views/plantings/_modal.html.haml +++ b/app/views/plantings/_modal.html.haml @@ -20,6 +20,7 @@ %p= garden.description %span - garden + = link_to 'add new garden', new_garden_path %a.btn{"data-target" => "#modelPlantingForm", "data-toggle" => "modal", href: "", id: 'planting-button'}