better form layout orders page
This commit is contained in:
parent
8c992beed7
commit
00613a7db8
1 changed files with 36 additions and 32 deletions
|
@ -13,8 +13,10 @@
|
|||
{% endfor %}
|
||||
</div>
|
||||
{% 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>
|
||||
<div class="row darker">
|
||||
<div class="col-sm-12">
|
||||
<form method="post" action="{{ url_for('.order_create') }}">
|
||||
{{ form.csrf_token }}
|
||||
<div class="form-group select2 {{ 'has-errors' if form.courrier_id.errors else ''}}">
|
||||
|
@ -54,6 +56,8 @@
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue