comparison default/input/comments.html @ 7:f1c773126f23

input/comments: comments input macros, first draft
author Goffi <goffi@goffi.org>
date Mon, 17 Apr 2017 20:45:09 +0200
parents
children
comparison
equal deleted inserted replaced
6:529fff4473c1 7:f1c773126f23
1 {% macro comment(service, node, action='') %}
2 <form method="post" action="{{action}}">
3 <input type="hidden" name="service" value="{{service}}">
4 <input type="hidden" name="node" value="{{node}}">
5 <textarea name="body" rows="10" cols="50"></textarea>
6 <input type="submit" value="Send">
7 </form>
8 {% endmacro %}