home · contact · privacy
e8e9fed7fcf5a46b3b39b04ca134a54e94d29f05
[plomtask] / templates / conditions.html
1 {% extends '_base.html' %}
2
3 {% block content %}
4 <h3>conditions</h3>
5
6 <table>
7 <tr>
8 <th><a href="?sort_by={% if sort_by == "is_active" %}-{% endif %}is_active">active</a></th>
9 <th><a href="?sort_by={% if sort_by == "title" %}-{% endif %}title">title</a></th>
10 </tr>
11 {% for condition in conditions %}
12 <tr>
13 <td>[{% if condition.is_active %}X{% else %} {% endif %}]</td>
14 <td><a href="condition?id={{condition.id_}}">{{condition.title.newest}}</a></td>
15 </tr>
16 {% endfor %}
17 </table>
18
19 <p>
20 <a href="condition">add</a>
21 </p>
22
23 {% endblock %}