From d4a516e14c088607e094dea4f57a4ae46e7019a9 Mon Sep 17 00:00:00 2001 From: Max Yakovenko Date: Mon, 23 Jul 2018 01:41:16 +0300 Subject: [PATCH] add two product search forms into common template --- templates/common.html | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/templates/common.html b/templates/common.html index 4c415dc..007514b 100644 --- a/templates/common.html +++ b/templates/common.html @@ -5,13 +5,14 @@ {% block content %}
- {% if product_search_form %} + {% if left_product_search_form %} {% endif %} - {% block extra_left_menu_items %}{% endblock extra_left_menu_items %} + {% block extra_left_menu_items %} + {% endblock extra_left_menu_items %} {% if product_root_categories %}
{% for category in product_root_categories %} @@ -30,11 +31,27 @@ {% crispy contact_us_form %}
{% endif %} -
- {% block right_common_content %} - {% endblock right_common_content %} +
+
+
+
+ +
+ {% if content_product_search_form %} +
+ +
+ {% endif %} +
+
+ {% block right_common_content %} + {% endblock right_common_content %} + +
{% endblock content %}