blob: 3e3caa2d1b80da89d5c14a0713626772c2e9e3af (
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
26
27
28
29
30
31
|
{% extends "page.jinja" %}
{% block heading %}
Neue Ausgabe hinzufügen
{% endblock %}
{% block js %}
{{ super() }}
<script type="text/javascript" src="{{ "jqueryui/jquery-ui-1.8.2.js" | static_url }}"></script>
<script type="text/javascript" src="{{ "js/add.js" | static_url }}"></script>
{% endblock %}
{% block style %}
{{ super() }}
<link href="{{ "jqueryui/css/ui-darkness/jquery-ui-1.8.2.custom.css" | static_url }}" rel="stylesheet" type="text/css">
{% endblock %}
{% block content %}
<form name="add_expense" method="post">
<table>
{% for field in form if not field is hidden %}
<tr><th>{{ field.label }}</th><td>{{ field }}</td><td>{{ field.description }}</td>
<td>{% if field.errors %}<span class="error">{{ field.errors[0] }}</span>{% endif %}</td></tr>
{% endfor %}
</table>
{{ form.hidden_tag() }}
{% block form_buttons %}
<input type="submit" name="changeB">
{% endblock %}
</form>
{% endblock %}
|