From c7030d001eafe77660cd18d59b63bf0be9441f10 Mon Sep 17 00:00:00 2001 From: ulrich Date: Fri, 09 Apr 2021 14:47:03 +0000 Subject: [PATCH] JavaScript Formulare weiter vereinheitlicht --- www/ui/data/tpl/form_ablageort.tpl | 25 +++++++++++++------------ 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/www/ui/data/tpl/form_ablageort.tpl b/www/ui/data/tpl/form_ablageort.tpl index 4ccc8a6..dedeee8 100644 --- a/www/ui/data/tpl/form_ablageort.tpl +++ b/www/ui/data/tpl/form_ablageort.tpl @@ -1,14 +1,15 @@ - <div class="entity-formular"> - Ablageort - - <input class="entity-element" type="text" id="ablageort-name" placeholder="Name" value="{{name}}" /> - <input class="entity-element" type="text" id="ablageort-ort" placeholder="Pfad" value="{{ort}}" /> - <input class="entity-element" type="text" id="ablageort-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öschen</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öschen</button> </div> + </div> +</form> \ No newline at end of file -- Gitblit v1.9.3