summaryrefslogtreecommitdiff
path: root/yaksh/templates/registration/password_reset_complete.html
diff options
context:
space:
mode:
authoradityacp2019-12-20 15:34:23 +0530
committeradityacp2019-12-20 15:43:25 +0530
commitd60050dcfe7e32dc720e48942c7457860da79d6b (patch)
tree1d82d6e9c21954bbe2995a89615a19becdeb7945 /yaksh/templates/registration/password_reset_complete.html
parent2e4c36969b18b9ebf09314d7a04094a7debe4387 (diff)
downloadonline_test-d60050dcfe7e32dc720e48942c7457860da79d6b.tar.gz
online_test-d60050dcfe7e32dc720e48942c7457860da79d6b.tar.bz2
online_test-d60050dcfe7e32dc720e48942c7457860da79d6b.zip
Use reverse url instead of traditional url in templates
Diffstat (limited to 'yaksh/templates/registration/password_reset_complete.html')
-rw-r--r--yaksh/templates/registration/password_reset_complete.html17
1 files changed, 11 insertions, 6 deletions
diff --git a/yaksh/templates/registration/password_reset_complete.html b/yaksh/templates/registration/password_reset_complete.html
index d606db9..20dc697 100644
--- a/yaksh/templates/registration/password_reset_complete.html
+++ b/yaksh/templates/registration/password_reset_complete.html
@@ -1,17 +1,22 @@
{% 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_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 %}
+
{% block content %}
<br><br>
+<center>
<div class="container">
-<p>Your password has been reset. </p>
-<p><a href="{{ login_url }}" class="btn btn-success">Log in</a></p>
-</div>
+ <p>Your password has been reset. </p>
+ <p><a href="{{ login_url }}" class="btn btn-success btn-lg">Log in</a></p>
+ </div>
+</center>
{% endblock %}