From 14638bbf3f495dcacc1ef8d7c6ecd7dabf3d17b2 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Fri, 09 Apr 2021 14:11:52 +0000
Subject: [PATCH] JavaScript aufgeraeumt

---
 www/ui/data/tpl/form_abspieler.tpl |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/www/ui/data/tpl/form_abspieler.tpl b/www/ui/data/tpl/form_abspieler.tpl
index 50eea05..d03c7fc 100644
--- a/www/ui/data/tpl/form_abspieler.tpl
+++ b/www/ui/data/tpl/form_abspieler.tpl
@@ -1,12 +1,14 @@
-<div class="entity-formular">
-  Abspieler
+<form>
+  <div class="entity-formular">
+    Abspieler
 
-  <input class="entity-element" type="text" id="abspieler-name" placeholder="Name" value="{{name}}" />
-  <input class="entity-element" type="text" id="abspieler-url" placeholder="URL" value="{{url}}" />
-  <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="name" class="entity-element" type="text" id="abspieler-name" placeholder="Name" value="{{name}}" />
+    <input name="url" class="entity-element" type="text" id="abspieler-url" placeholder="URL" value="{{url}}" />
+    <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>
\ No newline at end of file
+</form>
\ No newline at end of file

--
Gitblit v1.9.3