{% import 'macros_form.html' as form without context %}
{{ form.tablefield(label=trans('choice_mailonvoting'), checked=mailonvoting, name='%smailonvoting' % uid, type='checkbox') }}
{% if openptps is defined %}
{{ form.tablefield(label=trans('choice_openptps'), checked=openptps, name='%sopenptps' % uid, type='checkbox') }}
{% endif %}
{% if showmoderateoption %}
{{ form.tablefield(label=trans('choice_moderateptps'), checked=moderateptps, name='%smoderateptps' % uid, type='checkbox') }}
{% endif %}
{% if voteopt is defined %}
{{ form.tablefield(label=trans('choice_voteopt'), checked=voteopt, name='%svoteopt' % uid, type='checkbox') }}
{% endif %}