moviewyrm/fedireads/templates/edit_user.html
2020-01-28 23:23:05 -08:00

14 lines
516 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>
<img class="user-pic" src="/static/images/profile.jpg">
<form name="avatar" action="/edit_profile/" method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Upload</button>
</form>
</div>
</div>
{% endblock %}