# HG changeset patch # User Goffi # Date 1499752038 -7200 # Node ID f371bc50ea45df703118569d4dc6412f74b64486 # Parent eb9a42fca6c8686a4b37629e7e2bb438ed485d49 blog/articles: added context when importing comment, so csrf_token is transmited to the macro. diff -r eb9a42fca6c8 -r f371bc50ea45 default/blog/articles.html --- a/default/blog/articles.html Mon Jul 10 19:11:34 2017 +0200 +++ b/default/blog/articles.html Tue Jul 11 07:47:18 2017 +0200 @@ -1,5 +1,5 @@ {% if not embedded %}{% extends 'base/base.html' %}{% endif %} -{% import 'input/comment.html' as comment %} +{% import 'input/comment.html' as comment with context %} {% macro show_items(items, comments=False) %} {# show items and comments items if present after each item,