{% extends '_base.html' %} {% import '_macros.html' as macros %} {% block content %}

Todo: {{todo.title_then|e}}

day {{todo.date}}
process {{todo.process.title.newest|e}}
done
effort
comment
calendarize
conditions {{ macros.simple_checkbox_table("condition", todo.conditions, "condition", "condition_candidates", historical=true) }}
blockers {{ macros.simple_checkbox_table("blocker", todo.blockers, "condition", "condition_candidates", historical=true) }}
enables {{ macros.simple_checkbox_table("enables", todo.enables, "condition", "condition_candidates", historical=true) }}
disables {{ macros.simple_checkbox_table("disables", todo.disables, "condition", "condition_candidates", historical=true) }}
parents {% for parent in todo.parents %} {{parent.title_then|e}}
{% endfor %}
children {{ macros.simple_checkbox_table("adopt", todo.children, "todo", "todo_candidates", "adopt", true) }}
{{ macros.edit_buttons() }}
{{ macros.datalist_of_titles("condition_candidates", condition_candidates) }} {{ macros.datalist_of_titles("todo_candidates", todo_candidates) }} {% endblock %}