Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Render customer search form as bootstrap inline
Marcin Gębalaccb334f6f461
diff --git a/saleor/dashboard/templates/dashboard/customer/list.html b/saleor/dashboard/templates/dashboard/customer/list.htmlindex e287e82bef..c332a47aea 100644--- a/saleor/dashboard/templates/dashboard/customer/list.html+++ b/saleor/dashboard/templates/dashboard/customer/list.html@@ -13,13 +13,23 @@<div class="row"><div class="col-lg-12">- <div class="well">- <form method="post" class="form-inline">- {% csrf_token %}- {{ form }}- <button type="submit" class="btn btn-default" name='search'><i class="glyphicon glyphicon-search"></i> Search</button>- <a href="{% url 'dashboard:customers' %}">Clear</a>- </form>+ <div class="panel panel-default">+ <div class="panel-heading">{% trans "Search customers" %}</div>+ <div class="panel-body">+ <form method="post" class="form-inline">+ {% csrf_token %}+ <div class="form-group">+ <label class="control-label"for="amount">{% trans "Email" %}</label>+ {% render_widget form.email class="form-control" %}+ </div>+ <div class="form-group">+ <label class="control-label"for="amount">{% trans "Name" %}</label>+ {% render_widget form.name class="form-control" %}+ </div>+ <button type="submit" class="btn btn-default" name='search'><i class="glyphicon glyphicon-search"></i> Search</button>+ <a href="{% url 'dashboard:customers' %}">Clear</a>+ </form>+ </div></div><div class="panel panel-default">