Make it possible to edit one’s profile

…even though it’s only one field yet.
This commit is contained in:
2018-07-11 09:37:26 +02:00
parent 1a69928241
commit c3348d3212
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{% extends 'settings-base.html' %}
{% block content %}
{{ super() }}
<h2>{% trans %}Edit profile{% endtrans %}</h2>
<form method="post">
{{ form.hidden_tag() }}
{{ form.errors }}
{{ form.display_name.errors }}
{{ form.display_name.label }}
{{ form.display_name }}
<br>
<button type="submit">{% trans %}Save{% endtrans %}</button>
</form>
{% endblock content %}