add django-user-accounts
This commit is contained in:
23
templates/account/password_change.html
Normal file
23
templates/account/password_change.html
Normal file
@ -0,0 +1,23 @@
|
||||
{% extends "account/base.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
{% load bootstrap %}
|
||||
|
||||
{% block content_class %}account account-password{% endblock %}
|
||||
|
||||
{% block title %}{% trans "Change password" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-md-5">
|
||||
<form method="POST" action="">
|
||||
<legend>{% trans "Change password" %}</legend>
|
||||
<fieldset>
|
||||
{% csrf_token %}
|
||||
{{ form|bootstrap }}
|
||||
<button type="submit" class="btn btn-primary">{% trans "Save" %}</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user