source: mauRepo/dj_security/trunk/dj_security/templates/registration/registration_form.html @ 8650

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/dj_security/trunk/dj_security/templates/registration/registration_form.html@8650
Revision 8650, 1.7 KB checked in by mnagni, 7 years ago (diff)

Share project "dj_security" into " http://proj.badc.rl.ac.uk/svn/ndg/mauRepo"

  • Property svn:mime-type set to text/plain
RevLine 
[8650]1{% extends "registration/base.html" %}
2
3{% block title %}Sign up{% endblock %}
4
5{% block content %}
6
7  {% if form.errors %}
8  <p class="errors">Please correct the errors below: {{ form.non_field_errors }}</p>
9  {% endif %}
10
11  <h1>Create an account</h1>
12 
13  <form method="post" action="" class="wide">
14        {% csrf_token %}
15    <p>
16      <label for="id_username">Username:</label>
17      {% if form.username.errors %}
18        <p class="errors">{{ form.username.errors.as_text }}</p>
19      {% endif %}
20      {{ form.username }}
21    </p>
22    <p>
23      <label for="id_email">Email address:</label>
24      {% if form.email.errors %}
25        <p class="errors">{{ form.email.errors.as_text }}</p>
26      {% endif %}
27      {{ form.email }}
28    </p>
29    <p>
30      <label for="id_password1">Password:</label>
31      {% if form.password1.errors %}
32        <p class="errors">{{ form.password1.errors.as_text }}</p>
33      {% endif %}
34      {{ form.password1 }}
35    </p>
36    <p>
37      <label for="id_password2">Password (type again to catch typos):</label>
38      {% if form.password2.errors %}
39        <p class="errors">{{ form.password2.errors.as_text }}</p>
40      {% endif %}
41      {{ form.password2 }}
42    </p>
43    <p class="submit"><input type="submit" value="Register &rarr;"></p>
44  </form>
45 
46{% endblock %}
47
48{% block content-related %}
49<p>Fill out the form to the left (all fields are required), and your
50account will be created; you'll be sent an email with instructions on how
51to finish your registration.</p>
52
53<p>We'll only use your email to send you signup instructions. We hate spam
54as much as you do.</p>
55
56<p>This account will let you log into the ticket tracker, claim tickets,
57and be exempt from spam filtering.</p>
58{% endblock %}
Note: See TracBrowser for help on using the repository browser.