{%load pgfilters%} {% if field.is_hidden %} {{ field }} {% else %}{# not field.is_hidden #} {% if not field|ischeckbox %}