diff --git a/erpnext/templates/generators/item.html b/erpnext/templates/generators/item.html index aa02376bce1..535edcdb73b 100644 --- a/erpnext/templates/generators/item.html +++ b/erpnext/templates/generators/item.html @@ -2,10 +2,13 @@ {% block header %}

{{ title }}

{% endblock %} +{% block header_actions %} +{% include 'templates/includes/product_search_box.html' %} +{% endblock %} + {% block content %} {% from "erpnext/templates/includes/macros.html" import product_image %}
- {% include 'templates/includes/product_search_box.html' %}
diff --git a/erpnext/templates/generators/item_group.html b/erpnext/templates/generators/item_group.html index 348d3304191..2652f6f74dc 100644 --- a/erpnext/templates/generators/item_group.html +++ b/erpnext/templates/generators/item_group.html @@ -1,6 +1,9 @@ +{% block header_actions %} +{% include 'templates/includes/product_search_box.html' %} +{% endblock %} + {% block content %}
- {% include 'templates/includes/product_search_box.html' %}
{% if slideshow %} {% include "templates/includes/slideshow.html" %} diff --git a/erpnext/templates/includes/product_in_grid.html b/erpnext/templates/includes/product_in_grid.html index ea498120e81..d2c1c46ee6b 100644 --- a/erpnext/templates/includes/product_in_grid.html +++ b/erpnext/templates/includes/product_in_grid.html @@ -1,6 +1,6 @@ {% from "erpnext/templates/includes/macros.html" import product_image_square %} - +
{{ product_image_square(website_image) }}
{{ item_name }}
diff --git a/erpnext/templates/includes/product_in_list.html b/erpnext/templates/includes/product_in_list.html index 98e46a7762c..2a6cbe1a759 100644 --- a/erpnext/templates/includes/product_in_list.html +++ b/erpnext/templates/includes/product_in_list.html @@ -1,15 +1,15 @@
diff --git a/erpnext/templates/includes/product_search_box.html b/erpnext/templates/includes/product_search_box.html index a5592c10b5a..a135396b2f3 100644 --- a/erpnext/templates/includes/product_search_box.html +++ b/erpnext/templates/includes/product_search_box.html @@ -1,20 +1,17 @@ + @@ -15,7 +19,6 @@ $(document).ready(function() { }); -{% include "templates/includes/product_search_box.html" %}

Search Results