From 0c3b0d00da4ed1867d44a5cdfb0b309d5fe62cd0 Mon Sep 17 00:00:00 2001 From: Max Yakovenko Date: Thu, 26 Jul 2018 00:47:40 +0300 Subject: [PATCH] add common template with breadcrumbs --- templates/common_with_breadcrumbs.html | 57 ++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 templates/common_with_breadcrumbs.html diff --git a/templates/common_with_breadcrumbs.html b/templates/common_with_breadcrumbs.html new file mode 100644 index 0000000..007514b --- /dev/null +++ b/templates/common_with_breadcrumbs.html @@ -0,0 +1,57 @@ +{% extends 'base.html' %} +{% load static %} +{% load crispy_forms_tags %} + +{% block content %} +
+
+ {% if left_product_search_form %} + + {% endif %} + + {% block extra_left_menu_items %} + {% endblock extra_left_menu_items %} + {% if product_root_categories %} +
+ {% for category in product_root_categories %} + + + {{ category.alt }} + + {{ category.name }} + + {% endfor %} +
+ {% endif %} + {% if contact_us_form %} +
+ {% crispy contact_us_form %} +
+ {% endif %} +
+
+
+
+
+
+
+ +
+ {% if content_product_search_form %} +
+ +
+ {% endif %} +
+
+ {% block right_common_content %} + {% endblock right_common_content %} + +
+
+{% endblock content %}