better form layout orders page

This commit is contained in:
Feliciaan De Palmenaer 2015-03-31 00:55:50 +02:00
parent 8c992beed7
commit 00613a7db8

View file

@ -13,8 +13,10 @@
{% endfor %} {% endfor %}
</div> </div>
{% if not current_user.is_anonymous() %} {% if not current_user.is_anonymous() %}
<div class="col-md-push-1 col-md-6 darker"> <div class="col-md-push-1 col-md-6">
<h3>Create new order:</h3> <h3>Create new order:</h3>
<div class="row darker">
<div class="col-sm-12">
<form method="post" action="{{ url_for('.order_create') }}"> <form method="post" action="{{ url_for('.order_create') }}">
{{ form.csrf_token }} {{ form.csrf_token }}
<div class="form-group select2 {{ 'has-errors' if form.courrier_id.errors else ''}}"> <div class="form-group select2 {{ 'has-errors' if form.courrier_id.errors else ''}}">
@ -54,6 +56,8 @@
</div> </div>
</form> </form>
</div> </div>
</div>
</div>
{% endif %} {% endif %}
</div> </div>
</div> </div>