1 {% extends 'base.html' %}
4 th { padding-right: 1em; }
10 <form id="form_to_watch" action="task" method="POST">
11 <input type="hidden" name="task_id" value="{{ task.id_ }}" />
12 <input type="hidden" name="return_to" value="{{ return_to }}" />
18 <input name="title" type="text" value="{{ task.title.now|e }}" size=100 />
20 <summary>history</summary>
22 {% for k,v in task.title.history.items() | sort(attribute='0', reverse=True) %}
23 <li>{{ k }}: {{ v|e }}
33 <textarea name="comment" cols=100>{{task.comment|e}}</textarea>
38 <th>default effort</th>
40 {% if task.subtasks %}
41 {{ task.default_effort.now }}
43 <input type="number" name="default_effort" value="{{ task.default_effort.now }}" step=0.1 size=8 required />
45 <summary>history</summary>
47 {% for k,v in task.default_effort.history.items() | sort(attribute='0', reverse=True) %}
48 <li>{{ k }}: {{ v|e }}
59 {% for tag in tags | sort %}
60 <input type="checkbox" name="tag_{{tag|e}}"{% if tag in task.tags.now %} checked{% endif %}/> {{ tag }}
63 add: <input name="joined_tags" type="text" value="" size=100>
66 <summary>history</summary>
68 {% for k,v in task.tags.history.items() | sort(attribute='0', reverse=True) %}
69 <li>{{ k }}: {{ v|e }}
81 {% for subtask in task.subtasks %}
84 <input name="subtask" type="checkbox" value="{{subtask.id_}}" checked/>
87 <a href="task?id={{subtask.id_}}">{{subtask.title.now}}</a>
93 <th colspan=2>---</th>
96 {% for subtask in filtered_tasks %}
99 <input name="subtask" type="checkbox" value="{{subtask.id_}}"/>
102 <a href="task?id={{subtask.id_}}">{{subtask.title.now}}</a>
112 <input class="update" type="submit" name="update" value="update" />
114 {% include 'tagfilters.html' %}
116 search: <input name="search" value="{{search|e}}" />
117 <input type="submit" name="filter" value="filter" />
120 {% include 'watch_form.html' %}
122 mere_filter_inputs = mere_filter_inputs.concat(['search']);