From 748b6fdf9af24a605525fbf7b5d5a759460108bb Mon Sep 17 00:00:00 2001
From: ulrich
Date: Fri, 09 Apr 2021 13:46:23 +0000
Subject: [PATCH] JavaScript aufgeraeumt

---
 www/ui/data/tpl/form_ablageort.tpl |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/www/ui/data/tpl/form_ablageort.tpl b/www/ui/data/tpl/form_ablageort.tpl
index d6132bf..dedeee8 100644
--- a/www/ui/data/tpl/form_ablageort.tpl
+++ b/www/ui/data/tpl/form_ablageort.tpl
@@ -1,13 +1,15 @@
-    <div class="entity-formular">
-      Ablageort
-      
-      <input class="entity-element" type="text" id="ablageort-name" placeholder="Name" />
-      <input class="entity-element" type="text" id="ablageort-ort" placeholder="Pfad" />
-      <input class="entity-element" type="text" id="ablageort-url" placeholder="URL" />
-      <div class="entity-buttons">
-        <button class="button-primary" id="ok-btn">Speichern</button>
-        <button class="button" id="cancel-btn">Abbrechen</button>
-      </div>
-      
+<form>
+  <div class="entity-formular">
+    Katalog
+
+    <input name="name" class="entity-element" type="text" id="ablageort-name" placeholder="Name" value="{{name}}" />
+    <input name="ort" class="entity-element" type="text" id="ablageort-ort" placeholder="Pfad" value="{{ort}}" />
+    <input name="url" class="entity-element" type="text" id="ablageort-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>
+</form>
\ No newline at end of file

--
Gitblit v1.9.3