home · contact · privacy
Improve template layouts.
[plomtask] / templates / condition.html
1 {% extends 'base.html' %}
2
3
4
5 {% block content %}
6 <h3>condition</h3>
7 <form action="condition?id={{condition.id_ or ''}}" method="POST">
8 <table>
9
10 <tr>
11 <th>title</th>
12 <td><input name="title" value="{{condition.title.newest|e}}" /></td>
13 <tr/>
14
15 <tr>
16 <th>is active</th>
17 <td><input name="is_active" type="checkbox" {% if condition.is_active %}checked{% endif %} /></td>
18 <tr/>
19
20 <tr>
21 <th>description</th>
22 <td><input name="description" value="{{condition.description.newest|e}}" /></td>
23 <tr/>
24
25 </table>
26 <input class="btn-harmless" type="submit" name="update" value="update" />
27 <div class="btn-to-right">
28 <input class="btn-dangerous" type="submit" name="delete" value="delete" />
29 </div>
30 {% endblock %}
31