From b58e0cf3ce091e39657e241acb7aa7bd4130fb8d Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Tue, 22 Jan 2019 17:11:50 +1300 Subject: [PATCH] Moved garden actions code to top of view --- app/views/gardens/show.html.haml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/gardens/show.html.haml b/app/views/gardens/show.html.haml index b71f09c78..2c8ec76d6 100644 --- a/app/views/gardens/show.html.haml +++ b/app/views/gardens/show.html.haml @@ -14,12 +14,11 @@ = javascript_include_tag "charts" = javascript_include_tag "https://www.gstatic.com/charts/loader.js" +-content_for(:buttonbar) do + = render 'gardens/actions', garden: @garden + .row .col-md-9 - -content_for(:buttonbar) do - = render 'gardens/actions', garden: @garden - - - unless @garden.active .alert.alert-warning This garden is inactive.