-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathregistration.html
More file actions
52 lines (46 loc) · 2.24 KB
/
registration.html
File metadata and controls
52 lines (46 loc) · 2.24 KB
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
46
47
48
49
50
51
52
{% load static %}
<link rel="stylesheet" href="{% static 'css/main.css' %}" type="text/css">
<head>
<meta charset="UTF-8">
<title>Registration</title>
</head>
<div class="page-wrap gradient-primary">
<div class="container">
<div class="panel">
<h2 class="h3">Registration</h2>
<form method="post">
{% csrf_token %}
<div class="form-group">
<label for="username">{{ form.username.label_tag }}</label>
<input autofocus="off" class="form-control" id="username" name="username" :placeholder="Username" type="text" >
<div class="error">{{ form.username.errors }}</div>
</div>
<div class="form-group">
<label for="password1">{{ form.password1.label_tag }}</label>
<input autofocus="off"
class="form-control"
id="password1"
name="password1"
placeholder="{% if form.password1.help_text %}{{ form.password1.help_text|safe }}{% endif %}"
type="password">
<div class="error">{{ form.password1.errors }}</div>
</div>
<div class="form-group">
<label for="password2">{{ form.password2.label_tag }}</label>
<input autofocus="off"
class="form-control" id="password2" name="password2"
placeholder="{% if form.password2.help_text %}{{ form.password2.help_text|safe }}{% endif %}"
type="password">
<div class="error">{{ form.password2.errors }}</div>
</div>
<div class="form-group">
<label for="email">{{ form.email.label_tag }}</label>
<input autofocus="off" class="form-control" id="email" name="email"
:placeholder="Email" type="email">
<div class="error">{{ form.email.errors }}</div>
</div>
<button class="btn btn-primary btn-lg btn-block" id="submit" type="submit">Submit</button>
</form>
</div>
</div>
</div>