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> </p>
<form method="post" action=""> <form method="post" action="">
{% csrf_token %} {% csrf_token %}
{{ form|bootstrap }} {{ form|bootstrap_horizontal:"col-sm-3 col-lg-3" }}
<button type="submit" class="btn btn-primary">{% trans "Update" %}</button> <div class="col-sm-offset-3 col-sm-9">
<button type="submit" class="btn btn-primary">{% trans "Update" %}</button>
</div>
</form> </form>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">