signup.html 1.49 KB
Newer Older
Jean Michel Rouly's avatar
Jean Michel Rouly committed
1
2
3
4
{% extends 'base.html' %}


{% block title %}
Jean Michel Rouly's avatar
Jean Michel Rouly committed
5
Go - Signup
Jean Michel Rouly's avatar
Jean Michel Rouly committed
6
7
8
9
{% endblock %}


{% block content %}
Jean Michel Rouly's avatar
Jean Michel Rouly committed
10
11
12
13
14
15
16

<h3>~Signup~</h3>

<p>
In order to succesfully provide this service, users must be manually
approved. This prevents misuse of the URL shortener. Please indicate below
if you are interested.
17
<br/><br/>
Jean Michel Rouly's avatar
Jean Michel Rouly committed
18
19
</p>

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{% for error in form.non_field_errors %}
  <p class="error">{{ error }}</p>
{% endfor %}

<form method="post" action="{% url 'signup' %}">
{% csrf_token %}

  <label for="{{ form.username.id_for_label }}">{{ form.username.label }}</label>
  <br/>
  {% for error in form.username.errors %}
    <p class="error">{{error}}</p>
  {% empty %}
    <br/>
  {% endfor %}
  {{ form.username }}
  <br/><br/>

  <label for="{{ form.full_name.id_for_label }}">{{ form.full_name.label }}</label>
  <br/>
  {% for error in form.full_name.errors %}
    <p class="error">{{error}}</p>
  {% empty %}
    <br/>
  {% endfor %}
  {{ form.full_name }}
  <br/><br/>

  <label for="{{ form.description.id_for_label }}">{{ form.description.label }}</label>
  <br/>
  {% for error in form.description.errors %}
    <p class="error">{{error}}</p>
  {% empty %}
    <br/>
  {% endfor %}
  {{ form.description }}
  <br/><br/>

57
58
59
60
61
62
63
64
65
66
67
  <label for="{{ form.captcha.id_for_label }}">{{ form.captcha.label }}</label>
  <br/>
  {% for error in form.captcha.errors %}
    <p class="error">{{error}}</p>
  {% empty %}
    <br/>
  {% endfor %}
  {{ form.captcha }}
  <br/><br/>


68
69
70
71
72
  <input type="submit" value="Sign Up" />
  <br/><br/>

</form>

Jean Michel Rouly's avatar
Jean Michel Rouly committed
73
{% endblock %}