moviewyrm/fedireads/templates/edit_user.html
2020-01-29 12:24:50 -08:00

13 lines
460 B
HTML

{% extends 'layout.html' %}
{% block content %}
<div id="content">
<div class="user-profile">
<h1>{% if user.localname %}{{ user.localname }}{% else %}{{ user.username }}{% endif %}</h1>
<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 %}