home · contact · privacy
Refactor templates.
[plomtask] / templates / condition.html
1 {% extends '_base.html' %}
2 {% import '_macros.html' as macros %}
3
4
5
6 {% block content %}
7 <h3>condition</h3>
8 <form action="condition?id={{condition.id_ or ''}}" method="POST">
9 <table>
10
11 <tr>
12 <th>title</th>
13 <td><input name="title" value="{{condition.title.newest|e}}" /></td>
14 <tr/>
15
16 <tr>
17 <th>is active</th>
18 <td><input name="is_active" type="checkbox" {% if condition.is_active %}checked{% endif %} /></td>
19 <tr/>
20
21 <tr>
22 <th>description</th>
23 <td><input name="description" value="{{condition.description.newest|e}}" /></td>
24 <tr/>
25
26 </table>
27 {{ macros.edit_buttons() }}
28 {% endblock %}
29