2019-10-17 14:34:55 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
|
<h2>Edit Profile</h2>
|
|
|
|
|
|
|
|
|
|
<form method="POST">
|
|
|
|
|
<dl>
|
|
|
|
|
<dt>Username:</dt>
|
2019-10-17 15:21:33 +02:00
|
|
|
<dd><input type="text" class="username-input" name="username" required value="{{ current_user.username }}" autocomplete="off"></dd>
|
|
|
|
|
{% set profile = current_user.profile %}
|
|
|
|
|
<dt>Full name:</dt>
|
|
|
|
|
<dd><input type="text" name="full_name" value="{{ profile.full_name }}"></dd>
|
|
|
|
|
<dt>Biography:</dt>
|
|
|
|
|
<dd><textarea class="biography_text" name="biography">{{ profile.biography }}</textarea></dd>
|
2019-10-20 13:14:16 +02:00
|
|
|
<dt>Location:</dt>
|
|
|
|
|
<dd>{% include "includes/location_selector.html" %}</dd>
|
2019-10-17 15:21:33 +02:00
|
|
|
<dt>Website:</dt>
|
|
|
|
|
<dd><input type="text" name="website" value="{{ profile.website }}"></dd>
|
2019-10-17 14:34:55 +02:00
|
|
|
<dd><input type="submit" value="Save"></dd>
|
|
|
|
|
</dl>
|
|
|
|
|
</form>
|
|
|
|
|
{% endblock %}
|