diff --git a/babybuddy/templates/babybuddy/form_field.html b/babybuddy/templates/babybuddy/form_field.html index 2bc23b08..b7cdd6f5 100644 --- a/babybuddy/templates/babybuddy/form_field.html +++ b/babybuddy/templates/babybuddy/form_field.html @@ -8,14 +8,13 @@
{% if field|field_type == "booleanfield" %}
- + + {% if field.errors %} + {{ field|add_class:"form-check-input is-invalid" }} + {% else %} + {{ field|add_class:"form-check-input" }} + {% endif %} + {{ field.label }}
{% elif field|field_type == "datetimefield" or field|field_type == "datefield" %}