{% load crispy_forms_field %} {% comment %}Removed sr-only class from the field label.{% endcomment %} {% if field.is_hidden %} {{ field }} {% else %} {% if field|is_checkbox %}