diff options
author | hardythe1 | 2015-02-23 16:08:21 +0530 |
---|---|---|
committer | hardythe1 | 2015-02-23 16:08:21 +0530 |
commit | 5669ecb3f9a7d3c16fbd4bd00b7b448fbb275181 (patch) | |
tree | 0bacdacfc5522fd7a7bad5239088b5b94df39d82 /tbc/templates | |
parent | b838ac9acfdba428a6ed6f94a9c605781e96228b (diff) | |
download | Python-TBC-Interface-5669ecb3f9a7d3c16fbd4bd00b7b448fbb275181.tar.gz Python-TBC-Interface-5669ecb3f9a7d3c16fbd4bd00b7b448fbb275181.tar.bz2 Python-TBC-Interface-5669ecb3f9a7d3c16fbd4bd00b7b448fbb275181.zip |
specified date format and redirected
Diffstat (limited to 'tbc/templates')
-rw-r--r-- | tbc/templates/tbc/update-profile.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tbc/templates/tbc/update-profile.html b/tbc/templates/tbc/update-profile.html new file mode 100644 index 0000000..d1731bb --- /dev/null +++ b/tbc/templates/tbc/update-profile.html @@ -0,0 +1,31 @@ +{% extends 'base.html' %} +{% block content %} +{% if profile %} + <center> + <div class="alert" style="width:500px;"> + <a class="close" data-dismiss="alert" href="#">×</a> + <p> Please update your profile first and then proceed.</p> + </div> + </center> + <div class="clearfix"></div> +{% endif %} +<div id="content-wrap" style="max-width:600px;"> + <h3>Update Your Profile</h3> + <hr> + <form action="/profile/" method=POST> + {% csrf_token %} + {{ form.as_p }} + {{ form.errors }} + <br> + <input class="btn btn-primary" type=submit value=submit> + </form> +</div> +{% endblock %} + +{% block script %} +<script> + $( document ).ready(function() { + $('label[for="id_dob"]').text("DOB (yyyy/mm/dd)") + }); +</script> +{% endblock %} |