moviewyrm/fedireads/templates/edit_user.html

14 lines
460 B
HTML
Raw Normal View History

2020-01-28 19:45:38 +00:00
{% extends 'layout.html' %}
{% block content %}
2020-01-29 01:23:38 +00:00
<div id="content">
2020-01-28 19:45:38 +00:00
<div class="user-profile">
2020-01-29 07:23:05 +00:00
<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 }}
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 %}