{% extends 'base.html' %}
-{% macro todo_with_children(todo, indent) %}
-<li>{% for i in range(indent) %}+{% endfor %} [{% if todo.is_done %}x{% else %} {% endif %}] <a href="todo?id={{todo.id_}}">{{todo.process.title.newest|e}}</a>
-{% for child in todo.children %}
-{{ todo_with_children(child, indent+1) }}
-{% endfor %}
-{% for condition in todo.conditions %}
-<li>{% for i in range(indent) %} {% endfor %} <[{% if condition.is_active %}x{% else %} {% endif %}] <a href="condition?id={{condition.id_}}">{{condition.title.newest|e}}</a>
-{% endfor %}
-{% endmacro %}
-
{% macro node_with_children(node, indent) %}
<li>{% for i in range(indent) %}+{% endfor %}
{% if node.is_todo %}