From 78116f571ad4801bd10c51077b50ec87f1f68be7 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 17 Feb 2024 19:36:19 +0100 Subject: view: Send forms as JSON with JavaScript While forms can be send without JavaScript this new approach has the benefit that the whole data is send as one JSON. This JSON format can also be used for an API or testing. --- view/html/recipe-edit.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'view/html') diff --git a/view/html/recipe-edit.html b/view/html/recipe-edit.html index 7a50905..2513be8 100644 --- a/view/html/recipe-edit.html +++ b/view/html/recipe-edit.html @@ -10,7 +10,9 @@
-
+ + +

@@ -31,10 +33,12 @@

+
{{ template "footer" }} + {{end}} -- cgit v1.2.3-70-g09d2