diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-04-18 21:18:50 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-04-18 21:18:50 +0800 |
commit | a4d102896cd261ced64316fce45dd264a797a903 (patch) | |
tree | f8a06526f5817b7e3f7b7a08de9434766c6b1a9a /templates/form_with_files.html | |
parent | a50364c081a5aa4857223474207c154cb82896ee (diff) | |
download | django-skaschool-a4d102896cd261ced64316fce45dd264a797a903.tar.bz2 |
* updated settings.py, added settings_email.py
* created directories 'static' and 'templates'
* added app 'account', 'notice'
* added app 'demo'
Diffstat (limited to 'templates/form_with_files.html')
-rw-r--r-- | templates/form_with_files.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/form_with_files.html b/templates/form_with_files.html new file mode 100644 index 0000000..3e5e83f --- /dev/null +++ b/templates/form_with_files.html @@ -0,0 +1,17 @@ +{% extends 'demo/base.html' %} + +{% load bootstrap3 %} + +{% block title %} + Forms +{% endblock %} + +{% block content %} + + <form role="form" method="post" enctype="multipart/form-data" {% if layout != 'vertical' %}class="form-{{ layout }}"{% endif %}> + {% csrf_token %} + {% bootstrap_form form layout=layout %} + {% buttons submit='OK' reset="Cancel" %}{% endbuttons %} + </form> + +{% endblock %} |