X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=todo_templates%2Ftagfilters.html;fp=todo_templates%2Ftagfilters.html;h=6b2a9f1f00084981586a592071210740abbc19e9;hb=38b9ce0ba2b5af072554999bc5836ffe455f06db;hp=21333f6d6b98940994ef77876209cf0fbc74ce95;hpb=979de59ced9fe3fd3860d19288b42485d7f02346;p=misc
diff --git a/todo_templates/tagfilters.html b/todo_templates/tagfilters.html
index 21333f6..6b2a9f1 100644
--- a/todo_templates/tagfilters.html
+++ b/todo_templates/tagfilters.html
@@ -1,32 +1,6 @@
-need:
-{% for and_filter in filter_and %}
-
-{% endfor %}
-
+need tags:
+{{ macros.tagselection(submit_name='and_tag', selected_tags=filter_and, all_tags=tags) }}
-hide:
-{% for not_filter in filter_not %}
-
-{% endfor %}
-
+hide tags:
+{{ macros.tagselection(submit_name='not_tag', selected_tags=filter_not, all_tags=tags) }}