diff default/merge-request/item.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 339f4011ed9b
children 85877c76d47d
line wrap: on
line diff
--- a/default/merge-request/item.html	Tue Jan 30 07:47:21 2018 +0100
+++ b/default/merge-request/item.html	Tue Jan 30 07:47:23 2018 +0100
@@ -11,7 +11,7 @@
 {% if not embedded %}{% extends 'base/base.html' %}{% endif %}
 {% import 'input/xmlui.html' as xmlui with context %}
 {% import 'blog/macros.html' as blog with context %}
-{% import 'input/comment.html' as comment with context %}
+{% import 'input/textbox.html' as textbox with context %}
 
 {% block title %}{{item|adv_format('[{value.widget_value.id}] {value.widget_value.title}') }}{% endblock %}
 
@@ -43,7 +43,7 @@
         {% endif %}
         {% if comments_node is defined %}
             <div class="comment_post">
-                {{- comment.comment_or_login(service=comments_service, node=comments_node) -}}
+                {{- textbox.comment_or_login(service=comments_service, node=comments_node) -}}
             </div>
         {% endif %}
     </div>