[fix] product search in new block header_actions
diff --git a/erpnext/templates/generators/item.html b/erpnext/templates/generators/item.html
index aa02376..535edcd 100644
--- a/erpnext/templates/generators/item.html
+++ b/erpnext/templates/generators/item.html
@@ -2,10 +2,13 @@
{% block header %}<h2>{{ title }}</h2>{% endblock %}
+{% block header_actions %}
+{% include 'templates/includes/product_search_box.html' %}
+{% endblock %}
+
{% block content %}
{% from "erpnext/templates/includes/macros.html" import product_image %}
<div class="item-content">
- {% include 'templates/includes/product_search_box.html' %}
<div class="product-page-content" itemscope itemtype="http://schema.org/Product">
<div class="row">
<div class="col-sm-5">
diff --git a/erpnext/templates/generators/item_group.html b/erpnext/templates/generators/item_group.html
index 348d330..2652f6f 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 %}
<div class="item-group-content">
- {% include 'templates/includes/product_search_box.html' %}
<div>
{% if slideshow %}<!-- slideshow -->
{% include "templates/includes/slideshow.html" %}