From 71def106dcac230c9f39f5c117ad5e275ac00d5d Mon Sep 17 00:00:00 2001
From: ulrich
Date: Fri, 09 Apr 2021 09:23:46 +0000
Subject: [PATCH] Generischer Submit-Handler (in Arbeit)

---
 www/ui/data/tpl/form_einstellung.tpl |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/www/ui/data/tpl/form_einstellung.tpl b/www/ui/data/tpl/form_einstellung.tpl
index b5493e1..9500ecf 100644
--- a/www/ui/data/tpl/form_einstellung.tpl
+++ b/www/ui/data/tpl/form_einstellung.tpl
@@ -1,14 +1,14 @@
-<div class="entity-formular">
-  Einstellung
+<form>
+  <div class="entity-formular">
+    Einstellung
 
-  <input class="entity-element" type="text" id="einstellung-key" placeholder="Key" value="{{key}}" />
-  <input class="entity-element" type="text" id="einstellung-value" placeholder="Wert" value="{{value}}" />
-  <div class="entity-buttons">
-    <button class="button-primary" id="ok-btn">Speichern</button>
-    <button class="button" id="cancel-btn">Abbrechen</button>
-    <button class="button" id="loeschen-btn">L&ouml;schen</button>
+    <input name="key" class="entity-element" type="text" id="einstellung-key" placeholder="Key" value="{{key}}" />
+    <input name="value" class="entity-element" type="text" id="einstellung-value" placeholder="Wert" value="{{value}}" />
+    <div class="entity-buttons">
+      <button type="submit" class="button-primary" id="ok-btn">Speichern</button>
+      <button class="button" id="cancel-btn">Abbrechen</button>
+      <button class="button" id="loeschen-btn">L&ouml;schen</button>
+    </div>
+
   </div>
-
-</div>
-
-
+</form>
\ No newline at end of file

--
Gitblit v1.9.3