diff --git a/templates/bootstrap/forms/product_search.html b/templates/bootstrap/forms/product_search.html index 9b3c9ee..8ff9168 100644 --- a/templates/bootstrap/forms/product_search.html +++ b/templates/bootstrap/forms/product_search.html @@ -1,4 +1,10 @@ {% load static %} {% load crispy_forms_field %} -{% if input.name == "search" %}{% else %}{{ field }}{% endif %} +{% spaceless %} + {% if input.name == "search" %} + + {% else %} + {{ field }} + {% endif %} +{% endspaceless %}