update some account templates
This commit is contained in:
@ -1,5 +1,3 @@
|
|||||||
{% extends "theme_bootstrap/subnav_base.html" %}
|
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block content_class %}account{% endblock %}
|
{% block content_class %}account{% endblock %}
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
{% extends "account/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load bootstrap %}
|
|
||||||
|
|
||||||
{% block content_class %}account account-password{% endblock %}
|
{% block content_class %}account account-password{% endblock %}
|
||||||
|
|
||||||
@ -14,7 +13,7 @@
|
|||||||
<legend>{% trans "Change password" %}</legend>
|
<legend>{% trans "Change password" %}</legend>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form|bootstrap }}
|
{{ form }}
|
||||||
<button type="submit" class="btn btn-primary">{% trans "Save" %}</button>
|
<button type="submit" class="btn btn-primary">{% trans "Save" %}</button>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load bootstrap %}
|
|
||||||
{% load account_tags %}
|
{% load account_tags %}
|
||||||
|
|
||||||
{% block title %}{% trans "Password reset" %}{% endblock %}
|
{% block title %}{% trans "Password reset" %}{% endblock %}
|
||||||
@ -17,7 +16,7 @@
|
|||||||
<fieldset class="row">
|
<fieldset class="row">
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form|bootstrap }}
|
{{ form }}
|
||||||
<button type="submit" class="btn btn-primary">
|
<button type="submit" class="btn btn-primary">
|
||||||
{% trans "Reset my password" %}
|
{% trans "Reset my password" %}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load bootstrap %}
|
|
||||||
|
|
||||||
{% block title %}{% trans "Set your new password" %}{% endblock %}
|
{% block title %}{% trans "Set your new password" %}{% endblock %}
|
||||||
|
|
||||||
@ -12,7 +11,7 @@
|
|||||||
<legend>{% trans "Set your new password" %}</legend>
|
<legend>{% trans "Set your new password" %}</legend>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form|bootstrap }}
|
{{ form }}
|
||||||
<button type="submit" class="btn btn-primary">{% trans "Save" %}</button>
|
<button type="submit" class="btn btn-primary">{% trans "Save" %}</button>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
{% extends "account/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load bootstrap %}
|
|
||||||
|
|
||||||
{% block content_class %}account account-settings{% endblock %}
|
{% block content_class %}account account-settings{% endblock %}
|
||||||
|
|
||||||
@ -13,7 +12,7 @@
|
|||||||
<form method="POST" action="{% url "account_settings" %}">
|
<form method="POST" action="{% url "account_settings" %}">
|
||||||
<legend>{% trans "Account" %}</legend>
|
<legend>{% trans "Account" %}</legend>
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form|bootstrap }}
|
{{ form }}
|
||||||
<button class="btn btn-primary" type="submit">{% trans "Save" %}</button>
|
<button class="btn btn-primary" type="submit">{% trans "Save" %}</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user