From 925b7b7a6a6de1f40262d0fc96be7920b26b0021 Mon Sep 17 00:00:00 2001 From: GrailFinder Date: Tue, 2 Apr 2024 12:29:25 +0300 Subject: Feat: add htmx to show|hide form --- components/add_action_form.html | 7 +++++++ components/index.html | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'components') diff --git a/components/add_action_form.html b/components/add_action_form.html index 70403dc..95c869f 100644 --- a/components/add_action_form.html +++ b/components/add_action_form.html @@ -1,5 +1,6 @@ {{define "actionform"}}
+

Add action


@@ -16,3 +17,9 @@
{{end}} + +{{define "showformbtn"}} +
+ +
+{{end}} diff --git a/components/index.html b/components/index.html index 6848f1a..b3da4ea 100644 --- a/components/index.html +++ b/components/index.html @@ -6,6 +6,7 @@ +
@@ -14,7 +15,7 @@ {{ template "UserScore" . }}
- {{ template "actionform" }} + {{ template "showformbtn" }}
-- cgit v1.2.3