{% import 'macros/form.html' as form %} {% if allowable_parent_groups is not defined %}{% set allowable_parent_groups = h.get_allowable_parent_groups(data.id) %}{% endif %} {% call form.input_block("field-parent", label=_("Parent")) %} {% endcall %}