home · contact · privacy
3f784ea8b69c789808d2583c20946412c5ae7be4
[misc] / todo_templates / tagfilters.html
1 <p style="float: left; margin-right: 1em;">
2 <input type="submit" value="filter">
3 </p>
4 <p>
5 mandatory tags:
6 {% for and_filter in db.t_filter_and %}
7 <select name="t_and">
8 <option></option>
9 {% for tag in db.t_tags | sort %}
10 <option value="{{tag|e}}" {% if and_filter == tag %}selected{% endif %}>{{tag|e}}</option>
11 {% endfor %}
12 </select>
13 {% endfor %}
14 <select name="t_and">
15 <option></option>
16 {% for tag in db.t_tags | sort %}
17 <option value="{{tag|e}}">{{tag|e}}</option>
18 {% endfor %}
19 </select>
20 <br />
21 forbidden tags:
22 {% for not_filter in db.t_filter_not %}
23 <select name="t_not">
24 <option></option>
25 {% for tag in db.t_tags | sort %}
26 <option value="{{tag|e}}" {% if not_filter == tag %}selected{% endif %}>{{tag|e}}</option>
27 {% endfor %}
28 </select>
29 {% endfor %}
30 <select name="t_not">
31 <option></option>
32 {% for tag in db.t_tags | sort %}
33 <option value="{{tag|e}}">{{tag|e}}</option>
34 {% endfor %}
35 </select>
36 </p>
37