Mercurial > libervia-templates
annotate 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 |
rev | line source |
---|---|
7
f1c773126f23
input/comments: comments input macros, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 {% macro comment(service, node, action='') %} |
f1c773126f23
input/comments: comments input macros, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 <form method="post" action="{{action}}"> |
f1c773126f23
input/comments: comments input macros, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 <input type="hidden" name="service" value="{{service}}"> |
f1c773126f23
input/comments: comments input macros, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 <input type="hidden" name="node" value="{{node}}"> |
f1c773126f23
input/comments: comments input macros, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 <textarea name="body" rows="10" cols="50"></textarea> |
f1c773126f23
input/comments: comments input macros, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 <input type="submit" value="Send"> |
f1c773126f23
input/comments: comments input macros, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 </form> |
f1c773126f23
input/comments: comments input macros, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 {% endmacro %} |