{% import 'macros_form.html' as form without context %} {% call form.tablefield(label=label, name='%s%s' % (uid, name), size='auto', type='select') %} {{ list }} {% endcall %}