calendar-social/calsocial/templates/account/profile-edit.html

23 lines
590 B
HTML
Raw Permalink Normal View History

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