1 {% extends 'base.html' %}
5 {% if tmpl.forked_from %}
6 forked from: <a href="/template?id={{tmpl.id_}}">{{tmpl.forked_from.title.newest|e}}</a> at {{tmpl.forked_at}}<br />
8 <form action="/template{% if tmpl.id_ %}?id={{tmpl.id_}}{% endif %}" method="POST">
9 current title: <input name="title" value="{{tmpl.title.newest|e}}" /><br />
10 {% for datetime, title in tmpl.title.history.items() %}
11 {{datetime}}: {{title|e}}<br />
13 current default effort: <input name="default_effort" type="number" step="0.1" value="{{tmpl.default_effort.newest}}" /><br />
14 {% for datetime, default_effort in tmpl.default_effort.history.items() %}
15 {{datetime}}: {{default_effort}}<br />
17 current description: <textarea name="description">{{tmpl.description.newest|e}}</textarea><br />
18 {% for datetime, description in tmpl.description.history.items() %}
19 {{datetime}}: {{description}}<br />
21 <input type="submit" name="update" value="update" />
22 <input type="submit" name="fork" value="fork" />
23 <input type="submit" name="delete" value="delete" />