summaryrefslogtreecommitdiff
path: root/patchwork/templates/patchwork/registration.html
blob: 6cdbc5a80534065bdd35bd1f3f7a836e33fa9d35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{% extends "base.html" %}

{% block title %}Registration{% endblock %}
{% block heading %}Registration{% endblock %}

{% block body %}

{% if confirmation and not error %}
 <p>Registration successful!</p>
 <p>A confirmation email has been sent to {{ confirmation.email }}. You'll
 need to visit the link provided in that email to confirm your
 registration.</p>
</p>
{% else %}
<p>By creating a Patchwork account, you can:<p>
<ul>
 <li>create "bundles" of patches</li>
 <li>update the state of your own patches</li>
</ul>
<form method="post">
{% csrf_token %}
<table class="form registerform">
 <tr>
  <th colspan="2" class="headerrow">register</th>
 </tr>
 {% if error %}
  <tr>
   <td colspan="2">{{ error }}</td>
  </tr>
  {% endif %}

  {{ form.as_table }}

   <tr>
  <td colspan="2" class="submitrow">
   <input type="submit" value="Register"/>
  </td>
 </tr>
</table>
</form>
{% endif %}
{% endblock %}