pytask/templates/registration/registration_form.html
changeset 81 70726699ca80
parent 80 49ee2a7f1350
equal deleted inserted replaced
80:49ee2a7f1350 81:70726699ca80
     1 {% extends 'base.html' %}
     1 {% extends 'base.html' %}
     2 {% block content %}
     2 {% block content %}
     3 <form action="/accounts/register/" method="post">
     3 <form action="/accounts/register/" method="post">
     4 {% csrf_token %}
     4 {% csrf_token %}
     5 <p><label for="id_username">Username:</label> <input id="id_username" type="text" class="required" name="username" maxlength="30" /></p>
     5 {{ form.as_p }}
     6 <p><label for="id_email">Email address:</label> <input id="id_email" type="text" class="required" name="email" maxlength="75" /></p>
       
     7 <p><label for="id_password1">Password:</label> <input id="id_password1" type="password" class="required" name="password1" /></p>
       
     8 <p><label for="id_password2">Password (again):</label> <input id="id_password2" type="password" class="required" name="password2" /></p>
       
     9 <p><label for="id_full_name">Name as on your bank account:</label> <input id="id_full_name" type="text" name="full_name" maxlength="50" /> Any DD/Cheque will be issued on this name</p>
       
    10 
       
    11 <p><label for="id_aboutme">About Me:</label>
       
    12 <textarea id="id_aboutme" rows="10" cols="40" name="aboutme"></textarea>
       
    13 A write up about yourself to aid the reviewer in judging your eligibility for a task. 
       
    14 It can have your educational background, CGPA, field of interests etc.,</p>
       
    15 
       
    16 <p><label for="id_dob">date of birth:</label> <input type="text" name="dob" id="id_dob" /> YYYY-MM-DD</p>
       
    17 <p><label for="id_gender">gender:</label> <select name="gender" id="id_gender">
       
    18 	<option value="M">Male</option>
       
    19 	<option value="F">Female</option>
       
    20 
       
    21 </select></p>
       
    22 <p><label for="id_address">Address:</label>
       
    23 <textarea id="id_address" rows="10" cols="40" name="address"></textarea>
       
    24 This information will be used while sending DD/Cheque</p>
       
    25 <p><label for="id_phonenum">Phone Number:</label> <input id="id_phonenum" type="text" name="phonenum" maxlength="10" /></p>
       
    26 <input type="submit" value="Submit" />
     6 <input type="submit" value="Submit" />
    27 </form>
     7 </form>
    28 {% endblock %}
     8 {% endblock %}