home · contact · privacy
Improve visual/textual calendar structuring.
[plomtask] / templates / todo.html
index 9debffc0ad96db9d661dde5fcd343e3554d1aba5..9395adac6d92125f33b1ee0d320ad486f9281325 100644 (file)
@@ -1,5 +1,7 @@
 {% extends 'base.html' %}
 
+
+
 {% block content %}
 <h3>Todo: {{todo.process.title.newest|e}}</h3>
 <form action="todo?id={{todo.id_}}" method="POST">
@@ -8,6 +10,7 @@ id: {{todo.id_}}<br />
 day: <a href="day?date={{todo.date}}">{{todo.date}}</a><br />
 process: <a href="process?id={{todo.process.id_}}">{{todo.process.title.newest|e}}</a><br />
 done: <input type="checkbox" name="done" {% if todo.is_done %}checked {% endif %} {% if not todo.is_doable %}disabled {% endif %}/><br /> 
+comment: <input name="comment" value="{{todo.comment|e}}"/>
 </p>
 <h4>conditions</h4>
 <table>
@@ -75,6 +78,11 @@ adopt: <input name="adopt" list="todo_candidates" autocomplete="off" />
 <option value="{{candidate.id_}}">{{candidate.process.title.newest|e}} ({{candidate.id_}})</option>
 {% endfor %}
 </datalist>
-<input type="submit" value="OK" />
+
+<input class="btn-harmless" type="submit" name="update" value="update" />
+<div class="btn-to-right">
+<input class="btn-dangerous" type="submit" name="delete" value="delete" />
+</div>
+
 </form
 {% endblock %}