From 48f8f945d17d06be1777c4491539244f712250ee Mon Sep 17 00:00:00 2001
From: ulrich
Date: Fri, 09 Apr 2021 13:37:47 +0000
Subject: [PATCH] JavaScript Form-Behandlung vereinheitlicht

---
 www/ui/data/tpl/form_abspielliste.tpl |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/www/ui/data/tpl/form_abspielliste.tpl b/www/ui/data/tpl/form_abspielliste.tpl
index b01ffe5..7293209 100644
--- a/www/ui/data/tpl/form_abspielliste.tpl
+++ b/www/ui/data/tpl/form_abspielliste.tpl
@@ -1,11 +1,13 @@
+<form>
 <div class="entity-formular">
   Abspielliste
 
-  <input class="entity-element" type="text" id="abspielliste-name" placeholder="Name" value="{{name}}" />
+  <input name="name" class="entity-element" type="text" id="abspielliste-name" placeholder="Name" value="{{name}}" />
   <div class="entity-buttons">
-    <button class="button-primary" id="ok-btn">Speichern</button>
+    <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>
+</form>
\ No newline at end of file

--
Gitblit v1.9.3