blob: c5ac31b4964f022736e092e6bab22ac155701f30 (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
{% extends "base.html" %}
{% block title %}
SBHS Account Activation
{% endblock %}
{% block content %}
{% if success %}
<center>
<div class="alert alert-success" role="alert">
<strong> {{ msg }} </strong>
</div>
<a href="{% url 'account_enter' %}"> Home </a>
</center>
{% else %}
{% if msg %}
<center>
<div class="alert alert-warning" role="alert">
<strong> {{ msg }} </strong>
</div>
</center>
<form action="" method="post">
{% csrf_token %}
<center>
Enter Email Address for verification: <input type="email" name="email" required><br><br>
<button class="btn" type="submit">Send Email</button>
</center>
</form>
{% endif %}
{% endif %}
<br>
{% if activation_msg %}
<center>
<div class="alert alert-info" role="alert">
<strong> {{ activation_msg }} </strong>
</div>
<a href="{% url 'account_enter' %}"> Home </a>
</center>
{% endif %}
{% if email_err_msg %}
<center>
<div class="alert alert-warning" role="alert">
<strong> {{ email_err_msg }} </strong>
</div>
</center>
<form action="" method="post">
{% csrf_token %}
<center>
<table>
<tr>
<td>Enter Username:</td>
<td><input type="text" name="username" required></td>
</tr>
<tr>
<td>Enter New Email Address:</td>
<td><input type="email" name="email" required></td>
</tr>
</table>
<br>
<button class="btn" type="submit">Submit</button>
</center>
</form>
{% endif %}
{% endblock %}
|