From 38bf61e10f853b226d6d5fb16c4f59595af51286 Mon Sep 17 00:00:00 2001 From: Artur <128330203+not4rt@users.noreply.github.com> Date: Thu, 8 Aug 2024 01:57:06 +0000 Subject: [PATCH 1/2] Fix boolean columns on htmx view_edit.t --- src/gen/templates/scaffold/htmx/view_edit.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gen/templates/scaffold/htmx/view_edit.t b/src/gen/templates/scaffold/htmx/view_edit.t index e4a122208..586b63a83 100644 --- a/src/gen/templates/scaffold/htmx/view_edit.t +++ b/src/gen/templates/scaffold/htmx/view_edit.t @@ -30,9 +30,9 @@ message: "{{file_name}} edit view was added successfully." {% elif column.2 == "int" or column.2 == "int!" or column.2 == "int^"-%} {% elif column.2 == "bool"-%} - + {% elif column.2 == "bool!"-%} - + {% elif column.2 == "ts"-%} {% elif column.2 == "ts!"-%} @@ -97,4 +97,4 @@ message: "{{file_name}} edit view was added successfully." - \ No newline at end of file + From 951f7fc3f6753a5f91f5cc8730ea210cfd6e4d49 Mon Sep 17 00:00:00 2001 From: Artur <128330203+not4rt@users.noreply.github.com> Date: Thu, 8 Aug 2024 01:57:59 +0000 Subject: [PATCH 2/2] Close div tag on HTMX view_edit.t --- src/gen/templates/scaffold/htmx/view_edit.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gen/templates/scaffold/htmx/view_edit.t b/src/gen/templates/scaffold/htmx/view_edit.t index 586b63a83..d5f4a43bb 100644 --- a/src/gen/templates/scaffold/htmx/view_edit.t +++ b/src/gen/templates/scaffold/htmx/view_edit.t @@ -49,11 +49,12 @@ message: "{{file_name}} edit view was added successfully." {% endfor -%}
-
+
+