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_confirm.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_confirm.html')
-rw-r--r-- | yaksh/templates/registration/password_reset_confirm.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/yaksh/templates/registration/password_reset_confirm.html b/yaksh/templates/registration/password_reset_confirm.html index 110a82c..ef2d1f2 100644 --- a/yaksh/templates/registration/password_reset_confirm.html +++ b/yaksh/templates/registration/password_reset_confirm.html @@ -1,15 +1,17 @@ {% 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 %} +{% block content %} <br><br> <center><h4>Reset Password</h4> {% if validlink %} @@ -17,7 +19,7 @@ <form method="post"> {% csrf_token %} {{ form.as_p }} - <button class= "btn btn-success" type="submit">Submit</button> + <button class= "btn btn-success btn-lg" type="submit">Submit</button> </form> {% else %} <p>This reset link is no longer valid!</p> |