1 {% extends '_base.html' %}
2 {% import '_macros.html' as macros %}
7 <h3>Todo: {{todo.process.title.newest|e}}</h3>
8 <form action="todo?id={{todo.id_}}" method="POST">
13 <td><a href="day?date={{todo.date}}">{{todo.date}}</a></td>
18 <td><a href="process?id={{todo.process.id_}}">{{todo.process.title.newest|e}}</a></td>
23 <td><input type="checkbox" name="done" {% if todo.is_done %}checked {% endif %} {% if not todo.is_doable %}disabled {% endif %}/><br /></td>
28 <td><input name="comment" value="{{todo.comment|e}}"/></td>
33 <td>{{ macros.simple_checkbox_table("condition", todo.conditions, "condition", "condition_candidates") }}</td>
38 <td>{{ macros.simple_checkbox_table("enables", todo.enables, "condition", "condition_candidates") }}</td>
43 <td>{{ macros.simple_checkbox_table("disables", todo.disables, "condition", "condition_candidates") }}</td>
49 {% for parent in todo.parents %}
50 <a href="todo?id={{parent.id_}}">{{parent.process.title.newest|e}}</a><br />
57 <td>{{ macros.simple_checkbox_table("adopt", todo.children, "adopt", "todo_candidates", "adopt") }}</td>
61 {{ macros.edit_buttons() }}
64 {{ macros.datalist_of_titles("condition_candidates", condition_candidates) }}
65 {{ macros.datalist_of_titles("todo_candidates", todo_candidates) }}