You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.1 KiB
62 lines
2.1 KiB
{% extends "registration/base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}{% trans "Sign up" %}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{% if form.errors %}
|
|
<p class="errors">{% trans "Please correct the errors below:" %} {{ form.non_field_errors }}</p>
|
|
{% endif %}
|
|
|
|
<h1>{% trans "Create an account" %}</h1>
|
|
|
|
<form method="post" action="" class="wide">
|
|
{% csrf_token %}
|
|
<p>
|
|
<label for="id_first_name">{% trans "First name:" %}</label>
|
|
{% if form.first_name.errors %}
|
|
<p class="errors">{{ form.first_name.errors.as_text }}</p>
|
|
{% endif %}
|
|
{{ form.first_name }}
|
|
</p>
|
|
<p>
|
|
<label for="id_last_name">{% trans "Last name:" %}</label>
|
|
{% if form.last_name.errors %}
|
|
<p class="errors">{{ form.last_name.errors.as_text }}</p>
|
|
{% endif %}
|
|
{{ form.last_name }}
|
|
</p>
|
|
<p>
|
|
<label for="id_email">{% trans "Email address:" %}</label>
|
|
{% if form.email.errors %}
|
|
<p class="errors">{{ form.email.errors.as_text }}</p>
|
|
{% endif %}
|
|
{{ form.email }}
|
|
</p>
|
|
<p>
|
|
<label for="id_password1">{% trans "Password:" %}</label>
|
|
{% if form.password1.errors %}
|
|
<p class="errors">{{ form.password1.errors.as_text }}</p>
|
|
{% endif %}
|
|
{{ form.password1 }}
|
|
</p>
|
|
<p>
|
|
<label for="id_password2">{% trans "Password (type again to catch typos):" %}</label>
|
|
{% if form.password2.errors %}
|
|
<p class="errors">{{ form.password2.errors.as_text }}</p>
|
|
{% endif %}
|
|
{{ form.password2 }}
|
|
</p>
|
|
<p class="submit"><input type="submit" value="Register →"></p>
|
|
</form>
|
|
|
|
{% endblock %}
|
|
|
|
{% block content-related %}
|
|
<p>{% trans "Fill out the form to the left (all fields are required), and your account will be created; you'll be sent an email with instructions on how to finish your registration." %}</p>
|
|
|
|
<p>{% trans "We'll only use your email to send you signup instructions. We hate spam as much as you do." %}</p>
|
|
|
|
<p>{% trans "This account will let you log into the ticket tracker, claim tickets, and be exempt from spam filtering." %}</p>
|
|
{% endblock %}
|
|
|