Commit 8209d4f1a4282e4ae7df34eac28369be62165aeb
Exists in
master
and in
2 other branches
Merge branch 'adding_resend_email_verification' into 'master'
Adding resend email verification See merge request !240
Showing
2 changed files
with
52 additions
and
0 deletions
Show diff stats
src/colab-spb-theme-plugin/colab_spb_theme/templates/registration/login.html
... | ... | @@ -58,6 +58,7 @@ |
58 | 58 | <input type="submit" value="{% trans 'Login' %}" class="btn btn-primary btn-lg btn-block"> |
59 | 59 | </div> |
60 | 60 | <p class="text-center"><a href="{% url 'password_reset' %}">{% trans 'Forgot Password?' %}</a></p> |
61 | + <p class="text-center"><a href="{% url 'resend_email_verification' %}">{% trans 'Resend Email Verification?' %}</a></p> | |
61 | 62 | </div> |
62 | 63 | |
63 | 64 | </form> | ... | ... |
src/colab-spb-theme-plugin/colab_spb_theme/templates/registration/resend_email_verification.html
0 → 100644
... | ... | @@ -0,0 +1,51 @@ |
1 | +{% extends "base.html" %} | |
2 | +{% load i18n %} | |
3 | +{% block main-content %} | |
4 | + | |
5 | +<div class="row"> | |
6 | + {% if form.errors %} | |
7 | + <div class="alert alert-danger"> | |
8 | + <b>{% trans "Please correct the errors below and try again." %}</b> | |
9 | + </div> | |
10 | + {% endif %} | |
11 | +</div> | |
12 | + | |
13 | +<br> | |
14 | +<form action="" method="post" role="form" class="form-horizontal signup"> | |
15 | + {% csrf_token %} | |
16 | + | |
17 | + <div class="row"> | |
18 | + <div class="col-md-4 col-md-offset-4 col-lg-6 col-lg-offset-3 col-sm-8 col-sm-offset-2 col-xs-12"> | |
19 | + <div class="panel panel-default"> | |
20 | + <div class="panel-heading"><h3 class="panel-title">{{ title }}</h3></div> | |
21 | + <div class="panel-body"> | |
22 | + <div class= >{% trans "Enter your email address below, and we'll resend an email verification." %}</div> | |
23 | + <br> | |
24 | + <div class="form-group{% if form.email.errors %} alert alert-danger has-error{% endif %}"> | |
25 | + <label>{% trans 'Email address:' %}</label> | |
26 | + <input class="form-control" id="id_email" maxlength="254" name="email" type="email" required> | |
27 | + {{ form.email.errors }} | |
28 | + </div> | |
29 | + </div> | |
30 | + </div> | |
31 | + </div> | |
32 | + </div> | |
33 | + | |
34 | + <div class="row"> | |
35 | + <div class="submit"> | |
36 | + <input class="btn btn-primary btn-lg btn-block" type="submit" value="{% trans 'Resend Email' %}" /></p> | |
37 | + </div> | |
38 | + </div> | |
39 | + | |
40 | +</form> | |
41 | + | |
42 | +{% endblock %} | |
43 | + | |
44 | + | |
45 | + | |
46 | + | |
47 | + | |
48 | + | |
49 | + | |
50 | + | |
51 | + | ... | ... |