mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-28 19:10:35 +00:00
1a33290267
Fixes #109
16 lines
555 B
HTML
16 lines
555 B
HTML
{% extends 'layout.html' %}
|
|
{% block content %}
|
|
<div class="content-container">
|
|
<div class="user-profile">
|
|
<h2>Edit Profile</h2>
|
|
|
|
<p>{% include 'snippets/avatar.html' with user=user %} {% if user.localname %}{{ user.localname }}{% else %}{{ user.username }}{% endif %}</p>
|
|
|
|
<form name="avatar" action="/edit_profile/" method="post" enctype="multipart/form-data">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
<button type="submit">Update profile</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|