bookwyrm-mastodon/bookwyrm/templates/edit_user.html

17 lines
555 B
HTML
Raw Normal View History

2020-01-28 14:45:38 -05:00
{% extends 'layout.html' %}
{% block content %}
2020-03-28 18:06:16 -04:00
<div class="content-container">
2020-01-28 14:45:38 -05:00
<div class="user-profile">
2020-03-28 18:06:16 -04:00
<h2>Edit Profile</h2>
<p>{% include 'snippets/avatar.html' with user=user %} {% if user.localname %}{{ user.localname }}{% else %}{{ user.username }}{% endif %}</p>
2020-01-29 02:23:05 -05:00
<form name="avatar" action="/edit_profile/" method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ form.as_p }}
2020-01-29 15:24:50 -05:00
<button type="submit">Update profile</button>
2020-01-28 14:45:38 -05:00
</form>
</div>
</div>
{% endblock %}