summaryrefslogtreecommitdiff
path: root/yaksh/templates/registration/password_reset_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates/registration/password_reset_form.html')
-rw-r--r--yaksh/templates/registration/password_reset_form.html21
1 files changed, 13 insertions, 8 deletions
diff --git a/yaksh/templates/registration/password_reset_form.html b/yaksh/templates/registration/password_reset_form.html
index fd2220f..eeca8f2 100644
--- a/yaksh/templates/registration/password_reset_form.html
+++ b/yaksh/templates/registration/password_reset_form.html
@@ -1,12 +1,13 @@
{% extends "base.html" %}
-{% block title %}
-Forgot Password
-{% endblock %}
+{% 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_ROOT }}/exam/">
- <img src="{{ URL_ROOT }}/static/yaksh/images/yaksh_banner.png" alt="YAKSH">
- </a>
+ <a class="navbar-brand" href="{% url 'yaksh:index' %}">
+ <img src="{% static 'yaksh/images/yaksh_banner.png' %}" alt="YAKSH">
+ </a>
</nav>
{% endblock %}
@@ -26,8 +27,12 @@ Forgot Password
{{ form }}
<br><br>
- <button class="btn btn-success btn-lg" type="submit">Request</button>
- <a class="btn btn-primary btn-lg" href="{{URL_ROOT}}/exam/login/">Cancel</a>
+ <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>