diff --git a/crispy_bootstrap5/templates/bootstrap5/field.html b/crispy_bootstrap5/templates/bootstrap5/field.html index 142df08..538b8d5 100644 --- a/crispy_bootstrap5/templates/bootstrap5/field.html +++ b/crispy_bootstrap5/templates/bootstrap5/field.html @@ -3,7 +3,7 @@ {% if field.is_hidden %} {{ field }} {% else %} - {% if field|is_checkbox %} + {% if field|is_checkbox and tag != "td" %}