home · contact · privacy
Add VersionedAttributes history pages for Conditions.
[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}}" />{% if condition.id_ %} [<a href="condition_titles?id={{condition.id_}}">history</a>]{% endif %}</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><textarea name="description">{{condition.description.newest|e}}</textarea>{% if condition.id_ %} [<a href="condition_descriptions?id={{condition.id_}}">history</a>]{% endif %}</td>
24 <tr/>
25
26 </table>
27 {{ macros.edit_buttons() }}
28 {% endblock %}
29