blob: 2d0e8b275b6036fffc2f94020109d2c16562aaf4 (
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
43
44
45
|
{% extends 'layouts/main.django' %}
{% block content %}
<h2>Join {{ Appname }}</h2>
{% if Error %}
<div class="error">{{ Error }}</div>
{% endif %}
<form action="/register" method="POST">
<fieldset>
<legend>Create Account</legend>
<div class="form-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" required value="{{ Username }}" minlength="3" maxlength="72" pattern="[a-zA-Z0-9_-]+" />
<small>3-72 characters, letters, numbers, underscores, and hyphens only</small>
</div>
<div class="form-group">
<label for="email">Email Address</label>
<input type="email" id="email" name="email" required value="{{ Email }}" />
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" required minlength="8" />
<small>Minimum 8 characters</small>
</div>
<div class="form-group">
<label for="confirm_password">Confirm Password</label>
<input type="password" id="confirm_password" name="confirm_password" required />
</div>
<div class="form-actions">
<button type="submit">CREATE ACCOUNT</button>
</div>
</fieldset>
</form>
<p>
Already have an account? <a href="/login">Login here</a>
</p>
{% endblock %}
|