0001-templates-use-with_template-template-tag-to-render-f.patch
src/authentic2/templates/authentic2/change_email.html | ||
---|---|---|
1 | 1 |
{% extends "authentic2/base-page.html" %} |
2 |
{% load i18n %} |
|
2 |
{% load i18n gadjo %}
|
|
3 | 3 | |
4 | 4 |
{% block page-title %} |
5 | 5 |
{{ block.super }} - {{ view.title }} |
... | ... | |
16 | 16 |
An email will be sent to validate the new one.{% endblocktrans %}</p> |
17 | 17 |
<form method="post"> |
18 | 18 |
{% csrf_token %} |
19 |
{{ form.as_p }}
|
|
19 |
{{ form|with_template }}
|
|
20 | 20 |
<button class="submit-button">{% trans "Validate" %}</button> |
21 | 21 |
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button> |
22 | 22 |
</form> |
src/authentic2/templates/authentic2/login_password_form.html | ||
---|---|---|
1 |
{% load i18n staticfiles %} |
|
1 |
{% load i18n staticfiles gadjo %}
|
|
2 | 2 | |
3 | 3 |
{% block login %} |
4 | 4 | |
... | ... | |
6 | 6 |
<div> |
7 | 7 |
<form method="post" action=""> |
8 | 8 |
{% csrf_token %} |
9 |
{{ form.as_p }}
|
|
9 |
{{ form|with_template }}
|
|
10 | 10 |
{% block buttons %} |
11 | 11 |
<button class="submit-button" name="{{ submit_name }}">{% trans "Log in" %}</button> |
12 | 12 |
{% if cancel %} |
src/authentic2/templates/authentic2/login_password_registration_form.html | ||
---|---|---|
1 |
{% load i18n %} |
|
1 |
{% load i18n gadjo %}
|
|
2 | 2 | |
3 | 3 |
{% block registration %} |
4 | 4 |
<form enctype="multipart/form-data" method="post"> |
5 | 5 |
{% csrf_token %} |
6 |
{{ form.as_p }}
|
|
6 |
{{ form|with_template }}
|
|
7 | 7 |
<button class="submit-button">{% trans 'Submit' %}</button> |
8 | 8 |
</form> |
9 | 9 |
{% endblock %} |
src/authentic2/templates/registration/password_change_form.html | ||
---|---|---|
1 | 1 |
{% extends "authentic2/base-page.html" %} |
2 |
{% load i18n %} |
|
2 |
{% load i18n gadjo %}
|
|
3 | 3 | |
4 | 4 |
{% block page-title %} |
5 | 5 |
{{ block.super }} - {{ view.title }} |
... | ... | |
21 | 21 |
<p>{% blocktrans %}You are going to define your account password.{% endblocktrans %}</p> |
22 | 22 |
{% endif %} |
23 | 23 |
{% csrf_token %} |
24 |
{{ form.as_p }}
|
|
24 |
{{ form|with_template }}
|
|
25 | 25 |
<button class="submit-button">{% trans 'Submit' %}</button> |
26 | 26 |
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button> |
27 | 27 |
</form> |
src/authentic2/templates/registration/password_reset_confirm.html | ||
---|---|---|
1 | 1 |
{% extends "authentic2/base-page.html" %} |
2 |
{% load i18n %} |
|
2 |
{% load i18n gadjo %}
|
|
3 | 3 | |
4 | 4 |
{% block title %} |
5 | 5 |
{{ view.title }} |
... | ... | |
11 | 11 | |
12 | 12 |
<form method="post"> |
13 | 13 |
{% csrf_token %} |
14 |
{{ form.as_p }}
|
|
14 |
{{ form|with_template }}
|
|
15 | 15 | |
16 | 16 |
<button class="submit-button">{% trans 'Submit' %}</button> |
17 | 17 |
</form> |
src/authentic2/templates/registration/password_reset_form.html | ||
---|---|---|
1 | 1 |
{% extends "authentic2/base-page.html" %} |
2 |
{% load i18n %} |
|
2 |
{% load i18n gadjo %}
|
|
3 | 3 | |
4 | 4 |
{% block title %} |
5 | 5 |
{% trans "Resetting password" %} |
... | ... | |
11 | 11 | |
12 | 12 |
<form method="post"> |
13 | 13 |
{% csrf_token %} |
14 |
{{ form.as_p }}
|
|
14 |
{{ form|with_template }}
|
|
15 | 15 | |
16 | 16 |
<button class="submit-button">{% trans 'Submit' %}</button> |
17 | 17 |
</form> |
src/authentic2/templates/registration/registration_completion_form.html | ||
---|---|---|
1 | 1 |
{% extends "authentic2/base-page.html" %} |
2 |
{% load i18n %} |
|
2 |
{% load i18n gadjo %}
|
|
3 | 3 | |
4 | 4 |
{% block title %} |
5 | 5 |
{% trans "Registration" %} |
... | ... | |
10 | 10 |
<p>{% trans "Please fill the form to complete your registration" %}</p> |
11 | 11 |
<form method="post" class="registration-completion"> |
12 | 12 |
{% csrf_token %} |
13 |
{{ form.as_p }}
|
|
13 |
{{ form|with_template }}
|
|
14 | 14 |
<button class="submit-button">{% trans 'Submit' %}</button> |
15 | 15 |
</form> |
16 | 16 |
{% endblock %} |
src/authentic2_auth_fc/templates/authentic2_auth_fc/unlink.html | ||
---|---|---|
1 | 1 |
{% extends "authentic2_auth_fc/base.html"%} |
2 | 2 |
{% load staticfiles %} |
3 |
{% load i18n %} |
|
3 |
{% load i18n gadjo %}
|
|
4 | 4 | |
5 | 5 |
{% block content %} |
6 | 6 |
<p> |
... | ... | |
26 | 26 |
{% endif %} |
27 | 27 |
<form method="post"> |
28 | 28 |
{% csrf_token %} |
29 |
{{ form.as_p }}
|
|
29 |
{{ form|with_template }}
|
|
30 | 30 |
<button class="submit-button" name="unlink">{% trans "Unlink" %}</button> |
31 | 31 |
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button> |
32 | 32 |
</form> |
33 |
- |