diff options
Diffstat (limited to 'templates/consts')
-rw-r--r-- | templates/consts/edit.jinja | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/consts/edit.jinja b/templates/consts/edit.jinja index b313704..de79bdf 100644 --- a/templates/consts/edit.jinja +++ b/templates/consts/edit.jinja @@ -1,6 +1,8 @@ {% extends "layout.jinja" %} {% from "macros.jinja" import render_form %} +{% set JSFunction = "editConstJS" %} + {% block heading %} Konstante Ausgabe bearbeiten {% endblock %} @@ -11,4 +13,7 @@ <input type="submit" name="changeB"> <input type="submit" name="deleteB" value="Eintrag löschen" /> </form> + <script type="text/javascript"> + var category_data = {{ form.get_category_data() | tojson }}; + </script> {% endblock %} |