edit form is now a horizontal form

This commit is contained in:
elnappo 2014-11-25 21:30:13 +01:00
parent aa425c3402
commit f35d16c406
No known key found for this signature in database
GPG Key ID: 3AAF323515F3F056

View File

@ -15,8 +15,10 @@
</p>
<form method="post" action="">
{% csrf_token %}
{{ form|bootstrap }}
<button type="submit" class="btn btn-primary">{% trans "Update" %}</button>
{{ form|bootstrap_horizontal:"col-sm-3 col-lg-3" }}
<div class="col-sm-offset-3 col-sm-9">
<button type="submit" class="btn btn-primary">{% trans "Update" %}</button>
</div>
</form>
</div>
<div class="col-md-4">