X-Git-Url: https://plomlompom.com/repos/unset_cookie?a=blobdiff_plain;ds=sidebyside;f=templates%2Ftodo.html;h=d3957af79545e5492fc8217d6977cfb91046b886;hb=2ca0045683f74254fd0e248c2567fa2efa358c08;hp=44cdfa7eec24de0db04dd1eaa3984fa3abea41d4;hpb=12be63c6ef58282cb6b7d5b7bc2eabe8946a1bfc;p=plomtask
diff --git a/templates/todo.html b/templates/todo.html
index 44cdfa7..d3957af 100644
--- a/templates/todo.html
+++ b/templates/todo.html
@@ -1,4 +1,5 @@
-{% extends 'base.html' %}
+{% extends '_base.html' %}
+{% import '_macros.html' as macros %}
@@ -29,59 +30,17 @@
conditions |
-
-
-add:
- |
+{{ macros.simple_checkbox_table("condition", todo.conditions, "condition", "condition_candidates") }} |
enables |
-
-
-add:
- |
+{{ macros.simple_checkbox_table("enables", todo.enables, "condition", "condition_candidates") }} |
disables |
-
-
-add:
- |
+{{ macros.simple_checkbox_table("disables", todo.disables, "condition", "condition_candidates") }} |
@@ -109,20 +68,9 @@ adopt:
-
-
-
-
+{{ macros.edit_buttons() }}
-
-
+{{ macros.datalist_of_direct_titles("condition_candidates", condition_candidates) }}
+{{ macros.datalist_of_indirect_titles("todo_candidates", todo_candidates) }}
{% endblock %}