home · contact · privacy
Add Todo.comment display/posting in Todo view.
[plomtask] / templates / todo.html
index 9debffc0ad96db9d661dde5fcd343e3554d1aba5..f50b635d2647879a66c602721481e68988a64bdc 100644 (file)
@@ -8,6 +8,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 +76,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 %}