{% import 'macros_form.html' as form without context %} {{ form.tablefield(label=trans('no_shop'), checked=subscribe is undefined, name='%ssubscribe' % uid, rowspan=3, id='%ssubscribe___0' % uid, title=trans('formfield_label_subscribe'), type='radio', value='') }} {{ form.tablefield(label=trans('closed_shop'), extra=htmlstr(' %s') % (htmlstr('%s ') % ('checked="checked"' if not subscribe else '') if subscribe is defined else ''), name='%ssubscribe' % uid, rowspan=0, id='%ssubscribe___1' % uid, type='radio', value='0') }} {{ form.tablefield(label=trans('open_shop'), extra=htmlstr(' %s') % (htmlstr('%s ') % ('checked="checked"' if subscribe else '') if subscribe is defined else ''), name='%ssubscribe' % uid, rowspan=0, id='%ssubscribe___2' % uid, type='radio', value='1') }}