summaryrefslogtreecommitdiff
path: root/templates/consts/edit.jinja
blob: de79bdff33ed9af45bcf988aa4d03ce3dc633f99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% extends "layout.jinja" %}
{% from "macros.jinja" import render_form %}

{% set JSFunction = "editConstJS" %}

{% block heading %}
    Konstante Ausgabe bearbeiten
{% endblock %}

{% block content %}
    <form name="edit_const_expense" method="post">
        {{ render_form(form) }}
        <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 %}