{% import 'macros_form.html' as form without context %} {{ form.tablefield(label=descr, checked=checked, name='%sselection' % uid, id='%sselection___%s' % (uid, index), title=name, type='radio', value=index) }}