2018-07-17 15:21:12 +02:00
|
|
|
{% extends 'account/settings-base.html' %}
|
2018-07-13 11:22:28 +02:00
|
|
|
{% from '_macros.html' import field %}
|
2018-07-11 09:37:26 +02:00
|
|
|
|
2018-07-13 10:19:37 +02:00
|
|
|
{% block settings_content %}
|
2018-07-11 09:37:26 +02:00
|
|
|
<h2>{% trans %}Edit profile{% endtrans %}</h2>
|
2018-07-13 10:19:37 +02:00
|
|
|
<form method="post" class="ui form">
|
2018-07-11 09:37:26 +02:00
|
|
|
{{ form.hidden_tag() }}
|
2018-07-13 10:19:37 +02:00
|
|
|
|
|
|
|
{% if form.errors %}
|
|
|
|
{% for error in form.errors %}
|
|
|
|
{{ error }}
|
|
|
|
{% endfor %}
|
|
|
|
<br>
|
|
|
|
{% endif %}
|
2018-07-11 09:37:26 +02:00
|
|
|
|
2018-07-25 08:35:44 +02:00
|
|
|
{{ field(form.builtin_avatar) }}
|
2018-07-13 11:22:28 +02:00
|
|
|
{{ field(form.display_name) }}
|
2018-07-13 10:19:37 +02:00
|
|
|
{{ field(form.locked, inline=true) }}
|
2018-07-12 12:17:18 +02:00
|
|
|
|
2018-07-13 10:19:37 +02:00
|
|
|
<button type="submit" class="ui primary button">{% trans %}Save{% endtrans %}</button>
|
2018-07-11 09:37:26 +02:00
|
|
|
</form>
|
2018-07-13 10:19:37 +02:00
|
|
|
{% endblock settings_content %}
|