{% import 'input/form.html' as form with context %}
{% import 'input/field.html' as field %}
{% macro head(service, node) %}
{# include data needed to identify the node to use for commenting #}
{% endmacro %}
{% macro submit() %}
{% endmacro %}
{% macro comment(service, node, action='') %}
{% call form.form(action=action) %}
{{ head(service, node) }}
{{ field.textarea("body", placeholder=_("Your comment")) }}
{{ submit() }}
{% endcall %}
{% endmacro %}