summaryrefslogtreecommitdiff
path: root/yaksh/templates/registration/password_reset_form.html
blob: acee28862f69885a38edffda3cfbd60738e1483a (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
{% extends "base.html" %}
{% load static %}

{% block title %} Forgot Password {% endblock %}

{% block nav %}
<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top">
    <a class="navbar-brand" href="{% url 'yaksh:index' %}">
        <img src="{% static 'yaksh/images/yaksh_banner.png' %}" alt="YAKSH">
    </a>
</nav>
{% endblock %}

{% block content %}
<center>
<h4>Enter your registered email address to reset your password</h4>
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-6 col-md-offset-6">
            <div class="card border-primary">
                <div class="card-header"><h3>Forgot Password?</h3></div>
                <div class="card-body">
                    <div class="form-group">
                        <form action="" method="post">
                            {% csrf_token %}

                            {{ form }}
                            <br><br>
                            <button class="btn btn-success btn-lg" type="submit">
                                Request
                            </button>
                            <a href="{% url 'yaksh:index' %}" class="btn btn-primary btn-lg">
                                Cancel
                            </a>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</center>
{% endblock content %}