Commit 4b1aaa72 authored by Patrick's avatar Patrick

Align position of the "search" field on order and who is who forms

parent c620a6f5
......@@ -107,7 +107,7 @@
{% endspaceless %}{% endblock confirm_basket %}{% spaceless %}
{% if may_order or display_anonymous_order_form %}
<div class="row">
<div class="col-xs-11 col-sm-3 bs-docs-sidebar">
<div class="col-xs-11 col-sm-5 col-md-3 bs-docs-sidebar">
<div class="fixed">
{# q : {{ q }}<br/>#}
{# producer_id : {{ producer_id }}<br/>#}
......@@ -196,7 +196,7 @@
{% endspaceless %}{% endblock product_filter %}
</div>
</div>
<div class="col-xs-12 col-sm-9">
<div class="col-xs-12 col-sm-7 col-md-9">
{% block product_list %}{% endblock product_list %}
</div>
</div>
......
{% extends 'cms_page.html' %}
{% load cms_tags sekizai_tags i18n l10n %}
{% block search %}
<form id="search_form" class="form-horizontal" class="navbar-form" role="search" method="post">
{% csrf_token %}
<div class="input-group">
{% if q != None %}
<input type="search" autosave="repanier" class="form-control" value="{{ q }}" name="q">
{% else %}
<input type="search" autosave="repanier" class="form-control" placeholder="{% trans "Search" %}"
name="q">
{% endif %}
<div class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
</div>
</div>
</form>
<br/>
{% endblock %}
{% block sub_content %}
<div class="col-md-12">
{% for staff in staff_list %}
......@@ -29,6 +12,25 @@
({{ staff.customer_responsible.phone1 }})
<br/>
{% endfor %}
<br/>
<div class="row">
<div class="col-xs-11 col-sm-5 col-md-3">
<form id="search_form" class="form-horizontal" class="navbar-form" role="search" method="post">
{% csrf_token %}
<div class="input-group">
{% if q != None %}
<input type="search" autosave="repanier" class="form-control" value="{{ q }}" name="q">
{% else %}
<input type="search" autosave="repanier" class="form-control" placeholder="{% trans "Search" %}"
name="q">
{% endif %}
<div class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
</div>
</div>
</form>
</div>
</div>
<br/>
<p>{% trans "If you want to show information about you, then" %} <a href="{% url 'my_profile_view' %}">{% trans "update your profil" %}</a>.</p>
<div class="panel-group" id="accordion">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment