diff --git a/crispy_bootstrap5/templates/bootstrap5/layout/multifield.html b/crispy_bootstrap5/templates/bootstrap5/layout/multifield.html index 0a2c050..9234c82 100644 --- a/crispy_bootstrap5/templates/bootstrap5/layout/multifield.html +++ b/crispy_bootstrap5/templates/bootstrap5/layout/multifield.html @@ -1,27 +1,3 @@ -{% load crispy_forms_field %} - -{% if field.is_hidden %} - {{ field }} -{% else %} - - {% if field.label %} - - {% endif %} - -{% endif %} +
+ {{ fields_output }} +
diff --git a/crispy_bootstrap5/templates/bootstrap5/multifield.html b/crispy_bootstrap5/templates/bootstrap5/multifield.html new file mode 100644 index 0000000..ad7a87e --- /dev/null +++ b/crispy_bootstrap5/templates/bootstrap5/multifield.html @@ -0,0 +1,5 @@ +{% load crispy_forms_field %} + +
+ {% include 'bootstrap5/field.html' %} +