{% import 'input/form.html' as form %} {% macro head(service, node) %} {# include data needed to identify the node to use for commenting #} {% endmacro %} {% macro body(rows=10, cols=50) %} {% endmacro %} {% macro submit() %} {% endmacro %} {% macro comment(service, node, action='') %} {% call form.form(action=action) %} {{ head(service, node) }} {{ body() }} {{ submit() }} {% endcall %} {% endmacro %}