Implement Change Password form
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
|
||||
<link href="{% static 'css/icons/bootstrap-icons.css' %}" rel="stylesheet">
|
||||
<link href="{% static 'css/autocomplete.css' %}" rel="stylesheet">
|
||||
<link href="{% static 'css/shimatta-kenkyusho-base.css' %}" rel="stylesheet">
|
||||
<title>{{ base.title }}</title>
|
||||
{% block customhead %}
|
||||
{% endblock customhead %}
|
||||
|
16
shimatta_kenkyusho/templates/parts/change-pw.html
Normal file
16
shimatta_kenkyusho/templates/parts/change-pw.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends 'base.html' %}
|
||||
{% load crispy_forms_tags %}
|
||||
{% block content %}
|
||||
<div class="container justify-content-center text-center">
|
||||
<h1>Change Password</h1>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-5">
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{form|crispy}}
|
||||
<input type="submit" name="submit-change-pw" class="form-control btn-primary" value="Change Password">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
Reference in New Issue
Block a user