From c13d9d86696cacf3e30a1cd6929724b7f4c715ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Veikko=20Lintuj=C3=A4rvi?= Date: Wed, 26 Jul 2023 10:15:54 +0300 Subject: [PATCH] Move new yield button to the top --- lib/osuuspuutarha_web/live/yield_live/index.html.heex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/osuuspuutarha_web/live/yield_live/index.html.heex b/lib/osuuspuutarha_web/live/yield_live/index.html.heex index 783e92e..8639830 100644 --- a/lib/osuuspuutarha_web/live/yield_live/index.html.heex +++ b/lib/osuuspuutarha_web/live/yield_live/index.html.heex @@ -13,6 +13,8 @@ <% end %> +<%= live_patch "New Yield", to: Routes.yield_index_path(@socket, :new) %> + @@ -39,5 +41,3 @@ <% end %>
- -<%= live_patch "New Yield", to: Routes.yield_index_path(@socket, :new) %>