{% if field.is_hidden %} {{ field }} {% else %} {% if drawn.is_group %} {% if field.label and drawn.show_labels %} {{ field.label }}{% include "daisyui/required_marker.html" %} {% endif %} {% include "daisyui/field_body.html" %} {% else %} {% if field.label and drawn.show_labels and not drawn.is_single_checkbox %} {{ field.label }}{% include "daisyui/required_marker.html" %} {% endif %} {% include "daisyui/field_body.html" %} {% endif %} {% endif %}