diff default/blog/macros.html @ 116:da8f1ba9034d

input/comment: renamed "comment" library to "textbox", and made it more generic
author Goffi <goffi@goffi.org>
date Tue, 30 Jan 2018 07:47:23 +0100
parents 2963996373fa
children
line wrap: on
line diff
--- a/default/blog/macros.html	Tue Jan 30 07:47:21 2018 +0100
+++ b/default/blog/macros.html	Tue Jan 30 07:47:23 2018 +0100
@@ -1,4 +1,4 @@
-{% import 'input/comment.html' as comment with context %}
+{% import 'input/textbox.html' as textbox with context %}
 
 {% macro show_items(items, comments=False, expanded=false, dates_fmt=none) %}
     {# show items and comments items if present after each item,
@@ -26,7 +26,7 @@
             <div id="{{'comments_panel'|cur_gidx}}" class="comments_panel">
                 {% if allow_commenting %}
                     <div class="comment_post">
-                        {{- comment.comment(service=comments_items.service, node=comments_items.node) -}}
+                        {{- textbox.comment(service=comments_items.service, node=comments_items.node) -}}
                     </div>
                 {% endif %}