moviewyrm/fedireads/templates/edit_user.html

17 lines
555 B
HTML
Raw Normal View History

2020-01-28 19:45:38 +00:00
{% extends 'layout.html' %}
{% block content %}
2020-03-28 22:06:16 +00:00
<div class="content-container">
2020-01-28 19:45:38 +00:00
<div class="user-profile">
2020-03-28 22:06:16 +00: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 07:23:05 +00:00
<form name="avatar" action="/edit_profile/" method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ form.as_p }}
2020-01-29 20:24:50 +00:00
<button type="submit">Update profile</button>
2020-01-28 19:45:38 +00:00
</form>
</div>
</div>
{% endblock %}