summaryrefslogtreecommitdiff
path: root/yaksh/templates/registration/password_change_form.html
blob: 18dfa2ec4232dc9600a025f8a4f958d845a50d02 (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
{% extends "base.html" %}
<!DOCTYPE html>
{% block pagetitle %} Change Password {% endblock %}
{% block title %} Change 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>
</nav>
{% endblock %}

{% block content %}
<br><br>
<form action="" method="post" >
  {% csrf_token %}
  <center>
  <table class=span1>
  {{ form }}
  </table>
  </center>
  <br>
  <center><button class="btn btn-success btn-lg" type="submit">Change</button>
  <button class="btn btn-primary btn-lg" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/");'>Cancel
  </button></center>
</form>
{% endblock content %}