| 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 |
<p> |
|---|
| 15 |
<label for="id_username">Username:</label> |
|---|
| 16 |
{% if form.username.errors %} |
|---|
| 17 |
<p class="errors">{{ form.username.errors.as_text }}</p> |
|---|
| 18 |
{% endif %} |
|---|
| 19 |
{{ form.username }} |
|---|
| 20 |
</p> |
|---|
| 21 |
<p> |
|---|
| 22 |
<label for="id_email">Email address:</label> |
|---|
| 23 |
{% if form.email.errors %} |
|---|
| 24 |
<p class="errors">{{ form.email.errors.as_text }}</p> |
|---|
| 25 |
{% endif %} |
|---|
| 26 |
{{ form.email }} |
|---|
| 27 |
</p> |
|---|
| 28 |
<p> |
|---|
| 29 |
<label for="id_password1">Password:</label> |
|---|
| 30 |
{% if form.password1.errors %} |
|---|
| 31 |
<p class="errors">{{ form.password1.errors.as_text }}</p> |
|---|
| 32 |
{% endif %} |
|---|
| 33 |
{{ form.password1 }} |
|---|
| 34 |
</p> |
|---|
| 35 |
<p> |
|---|
| 36 |
<label for="id_password2">Password (type again to catch typos):</label> |
|---|
| 37 |
{% if form.password2.errors %} |
|---|
| 38 |
<p class="errors">{{ form.password2.errors.as_text }}</p> |
|---|
| 39 |
{% endif %} |
|---|
| 40 |
{{ form.password2 }} |
|---|
| 41 |
</p> |
|---|
| 42 |
<p class="submit"><input type="submit" value="Register →"></p> |
|---|
| 43 |
</form> |
|---|
| 44 |
|
|---|
| 45 |
{% endblock %} |
|---|
| 46 |
|
|---|
| 47 |
{% block content-related %} |
|---|
| 48 |
<p>Fill out the form to the left (all fields are required), and your |
|---|
| 49 |
account will be created; you'll be sent an email with instructions on how |
|---|
| 50 |
to finish your registration.</p> |
|---|
| 51 |
|
|---|
| 52 |
<p>We'll only use your email to send you signup instructions. We hate spam |
|---|
| 53 |
as much as you do.</p> |
|---|
| 54 |
|
|---|
| 55 |
<p>This account will let you log into the ticket tracker, claim tickets, |
|---|
| 56 |
and be exempt from spam filtering.</p> |
|---|
| 57 |
{% endblock %} |
|---|