From 75b7d848068b019259ab9a1539cc9faa6f36a626 Mon Sep 17 00:00:00 2001 From: KKlochko Date: Tue, 9 Apr 2024 22:02:30 +0300 Subject: [PATCH] Fix that a new article row added as element instead of a child. --- views/admin_panel.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/admin_panel.hbs b/views/admin_panel.hbs index 66ac82e..e3ff3f1 100644 --- a/views/admin_panel.hbs +++ b/views/admin_panel.hbs @@ -31,7 +31,7 @@ id="createArticleButton" hx-get="/htmx/forms/article/create/" hx-target="#articles" - hx-swap="beforebegin" + hx-swap="afterbegin" class="flex items-center justify-center text-white bg-primary-700 hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-primary-600 dark:hover:bg-primary-700 focus:outline-none dark:focus:ring-primary-800">