{% load widget_tweaks %} {% if field.is_hidden %} {{ field }} {% else %} {% comment %} Make the field widget type available to templates so we can mark-up checkboxes differently to other widgets. {% endcomment %} {% block control_group %} {% if not layout %}