forked from gergely/calendar-social
Make it possible to edit one’s profile
…even though it’s only one field yet.
This commit is contained in:
17
calsocial/templates/profile-edit.html
Normal file
17
calsocial/templates/profile-edit.html
Normal 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 %}
|
Reference in New Issue
Block a user