{% import 'macros_form.html' as form without context %} {{ form.tablefield(label=trans('label_show_lastlog'), checked=show_lastlog, name='%sshow_lastlog' % uid, type='checkbox', value='show_lastlog') }}