pytask/templates/profile/edit.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Sun, 30 Jan 2011 18:59:23 +0530
changeset 526 9c0c88d129dd
parent 480 d0325456f266
permissions -rw-r--r--
Add a view, form and related URL for chapter creation under textbook.

{% extends "base.html" %}

{% load form_helpers %}

{% block js %}
<script type="text/javascript">
  $(document).ready(function () {
    $("#id_dob").datepicker({
      dateFormat: 'yy-mm-dd',
      changeMonth: true,
      changeYear: true,
      minDate: "-90y",
      maxDate: "+0D",
      yearRange: "-90",
      defaultDate: '1985-01-01'
    });
  });
</script>
{% endblock %}


{% block content %}
  {% as_div_form form "Edit Profile Form" csrf_token "Update" %}
{% endblock %}