changeset 7:f1c773126f23

input/comments: comments input macros, first draft
author Goffi <goffi@goffi.org>
date Mon, 17 Apr 2017 20:45:09 +0200
parents 529fff4473c1
children 7353e5c54359
files default/input/comments.html
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/default/input/comments.html	Mon Apr 17 20:45:09 2017 +0200
@@ -0,0 +1,8 @@
+{% macro comment(service, node, action='') %}
+<form method="post" action="{{action}}">
+    <input type="hidden" name="service" value="{{service}}">
+    <input type="hidden" name="node" value="{{node}}">
+    <textarea name="body" rows="10" cols="50"></textarea>
+    <input type="submit" value="Send">
+</form>
+{% endmacro %}