view default/input/comments.html @ 8:7353e5c54359

blog/articles: comments are now displayed if chained, and allow_commenting activate commenting form
author Goffi <goffi@goffi.org>
date Mon, 17 Apr 2017 20:46:11 +0200
parents f1c773126f23
children
line wrap: on
line source

{% macro comment(service, node, action='') %}
<form method="post" action="{{action}}">
    <input type="hidden" name="service" value="{{service}}">
    <input type="hidden" name="node" value="{{node}}">
    <textarea name="body" rows="10" cols="50"></textarea>
    <input type="submit" value="Send">
</form>
{% endmacro %}