diff options
author | adityacp | 2019-12-20 15:34:23 +0530 |
---|---|---|
committer | adityacp | 2019-12-20 15:43:25 +0530 |
commit | d60050dcfe7e32dc720e48942c7457860da79d6b (patch) | |
tree | 1d82d6e9c21954bbe2995a89615a19becdeb7945 /yaksh/templates/registration/password_reset_complete.html | |
parent | 2e4c36969b18b9ebf09314d7a04094a7debe4387 (diff) | |
download | online_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.html | 17 |
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 %} |