1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{% extends 'base.html' %} {% load bootstrap3 %} {% block title %} Forms {% endblock %} {% block content %} <form role="form" class="form-horizontal" method="post"> {% csrf_token %} {% bootstrap_form form layout="horizontal" %} {% buttons submit='OK' reset='Cancel' layout='horizontal' %}{% endbuttons %} </form> {% endblock %}