1 {% extends '_base.html' %}
6 <form action="conditions" method="GET">
7 <input type="submit" value="filter" />
8 <input name="pattern" type="text" value="{{pattern}}" />
11 <table class="alternating">
13 <th><a href="?sort_by={% if sort_by == "is_active" %}-{% endif %}is_active">active</a></th>
14 <th><a href="?sort_by={% if sort_by == "title" %}-{% endif %}title">title</a></th>
16 {% for condition in conditions %}
18 <td>[{% if condition.is_active %}X{% else %} {% endif %}]</td>
19 <td><a href="condition?id={{condition.id_}}">{{condition.title.newest}}</a></td>
25 <a href="condition">add</a>