diff options
Diffstat (limited to 'templates/form_horizontal.html')
-rw-r--r-- | templates/form_horizontal.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/form_horizontal.html b/templates/form_horizontal.html new file mode 100644 index 0000000..d9fc0c3 --- /dev/null +++ b/templates/form_horizontal.html @@ -0,0 +1,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 %} |