Mercurial > libervia-templates
diff default/input/comment.html @ 37:eb9a42fca6c8
input/form: added csrf_token hidden field if it is defined, and import form with context to get this variable
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 10 Jul 2017 19:11:34 +0200 |
parents | 4bf00291b895 |
children | 102356338118 |
line wrap: on
line diff
--- a/default/input/comment.html Tue Jul 04 07:54:32 2017 +0200 +++ b/default/input/comment.html Mon Jul 10 19:11:34 2017 +0200 @@ -1,4 +1,4 @@ -{% import 'input/form.html' as form %} +{% import 'input/form.html' as form with context %} {% import 'input/field.html' as field %} {% macro head(service, node) %}