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_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 382dad1..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="Pfad" 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ö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öschen</button> + </div> + </div> - -</div> - - +</form> \ No newline at end of file -- Gitblit v1.9.3