pytask/templates/registration/registration_form.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Sun, 30 Jan 2011 18:51:08 +0530
changeset 524 b942d6e3d204
parent 480 d0325456f266
permissions -rw-r--r--
Fix the font size of the text in input boxes.

{% 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 %}
  {% url registration_register as registration_url %}
  {% as_div_form form "Create Profile Form" csrf_token "Submit" registration_url %}
{% endblock %}