diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-04-20 23:58:30 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-04-20 23:58:30 +0800 |
commit | c11363e94069139f89c613c678624458fe167e66 (patch) | |
tree | cfb3dc85e7d4ab610bbcb1e5148bf388e6232fb9 /account/templates/account/profile_update.html | |
parent | f74743aca5ffa55c717b336a314b58d59f4abc03 (diff) | |
download | django-skaschool-c11363e94069139f89c613c678624458fe167e66.tar.bz2 |
* added 'profile', 'profile_update' and 'profile_update_done' templates
and implemented related views
* added 'account.forms.UpdateProfileForm'
* implemented 'account.views.UpdateProfileView' using class-based view
* updated 'account.urls'
Diffstat (limited to 'account/templates/account/profile_update.html')
-rw-r--r-- | account/templates/account/profile_update.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/account/templates/account/profile_update.html b/account/templates/account/profile_update.html new file mode 100644 index 0000000..1802bb0 --- /dev/null +++ b/account/templates/account/profile_update.html @@ -0,0 +1,24 @@ +{% extends 'base.html' %} +{% load staticfiles %} +{% load url from future %} +{% load bootstrap3 %} + +{# login template #} + +{% block title %} +更新个人信息 | 2014 SKA Summer School +{% endblock %} + +{% block content %} + <div class="container"> + <h2>更新个人信息</h2> + <br> + <form role="form" class="form-horizontal" method="post"> + {% csrf_token %} + {% bootstrap_form form layout='horizontal' %} + {% buttons submit='提交' reset='重置' layout='horizontal' %}{% endbuttons %} + </form> + </div> +{% endblock %} + +{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} |