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