{% import 'macros_form.html' as form with context %}
{{ form.tablefield(label=trans('WSWaste'), errorid='add', extra=htmlstr(' %s %s') % (('checked="checked"' if add else ''), ('class="readonly" onclick="event.preventDefault();" readonly="readonly"' if readonly else '')), help=help, name='%sadd' % uid, type='checkbox') }}