home · contact · privacy
869cf54a8715fbef9a057182523e688d72cf6c8f
[misc] / todo_templates / tagfilters.html
1 mandatory tags:
2 {% for and_filter in filter_and %}
3 <select name="t_and">
4 <option></option>
5 {% for tag in tags | sort %}
6 <option value="{{tag|e}}" {% if and_filter == tag %}selected{% endif %}>{{tag|e}}</option>
7 {% endfor %}
8 </select>
9 {% endfor %}
10 <select name="t_and">
11 <option></option>
12 {% for tag in tags | sort %}
13 <option value="{{tag|e}}">{{tag|e}}</option>
14 {% endfor %}
15 </select>
16 <br />
17 forbidden tags:
18 {% for not_filter in filter_not %}
19 <select name="t_not">
20 <option></option>
21 {% for tag in tags | sort %}
22 <option value="{{tag|e}}" {% if not_filter == tag %}selected{% endif %}>{{tag|e}}</option>
23 {% endfor %}
24 </select>
25 {% endfor %}
26 <select name="t_not">
27 <option></option>
28 {% for tag in tags | sort %}
29 <option value="{{tag|e}}">{{tag|e}}</option>
30 {% endfor %}
31 </select>
32