0001-templates-use-gadjo-to-render-account-edit-form-2654.patch
src/authentic2/templates/authentic2/accounts_edit.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 }} |
... | ... | |
15 | 15 |
<form enctype="multipart/form-data" method="post"> |
16 | 16 | |
17 | 17 |
{% csrf_token %} |
18 |
{{ form.as_p }}
|
|
18 |
{{ form|with_template }}
|
|
19 | 19 |
{% if form.instance and form.instance.id %} |
20 | 20 |
<button class="submit-button">{% trans "Submit" %}</button> |
21 | 21 |
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button> |
22 |
- |