summaryrefslogtreecommitdiff
path: root/templates/expenses/add.jinja
blob: 0941c3ad18e896bacd1fa1c268450f19a061f471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{% extends "layout.jinja" %}
{% from "macros.jinja" import render_form %}

{% block heading %}
    Neue Ausgabe hinzufügen
{% endblock %}

{% set JSFunction = "addJS" %}

{% block js %}
    {{ super() }}
    <script type="text/javascript" src="{{ "jqueryui/jquery-ui.js" | static_url }}"></script>
{% endblock %}

{% block style %}
    {{ super() }}
    <link href="{{ "jqueryui/css/ui-darkness/jquery-ui.css" | static_url }}" rel="stylesheet" type="text/css">
{% endblock %}

{% block content %}
    <form name="add_expense" method="post">
        {{ render_form(form, expense = {'autofocus' : True}) }}
        <input type="submit" name="changeB">
    </form>
{% endblock %}