{% import 'macros_form.html' as form with context %}
{% call form.box(table=True) %}
{{ form.tablefield(label=trans('label_comment'), errorid='comment', extra=' wrap="virtual" rows="3"', name='%scomment' % uid, type='textarea', value=comment) }}
{% if to_managers is defined %}
{{ form.tablefield(label=trans('to_managers'), checked=to_managers, name='%sto_managers' % uid, title='', type='checkbox') }}
{% endif %}
{% endcall %}
{% call form.box(table=True) %}
{% if forwards_lbl is defined %}
{{ form.tablefield(label=forwards_lbl, nocolon='1', type='content') }}
{% endif %}
{{ forwards }}
{% if to_responsibles is defined %}
{{ form.tablefield(label=trans('to_responsibles'), checked=to_responsibles, name='%sto_responsibles' % uid, title='', type='checkbox') }}
{% endif %}
{% endcall %}