From a4d102896cd261ced64316fce45dd264a797a903 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Fri, 18 Apr 2014 21:18:50 +0800 Subject: * updated settings.py, added settings_email.py * created directories 'static' and 'templates' * added app 'account', 'notice' * added app 'demo' --- templates/form_with_files.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 templates/form_with_files.html (limited to 'templates/form_with_files.html') 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 %} + +
+ {% csrf_token %} + {% bootstrap_form form layout=layout %} + {% buttons submit='OK' reset="Cancel" %}{% endbuttons %} +
+ +{% endblock %} -- cgit v1.2.2