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