home · contact · privacy
Add Day POSTing.
[plomtask] / templates / day.html
index 5547f4534e94742600f0664aaece2b7cdc33afc3..0fff9e049792f695230947e56afc5be3b4d40060 100644 (file)
@@ -2,6 +2,9 @@
 
 {% block content %}
 <h3>{{day.date}} / {{day.weekday}}</h3>
-comment: {{day.comment|e}}
+<form action="day?date={{day.date}}" method="POST">
+comment: <input name="comment" value="{{day.comment|e}}" />
+<input type="submit" value="OK" />
+</form>
 {% endblock %}