{% extends 'layout.html' %}
{% block content %}
<div class="block">
<h2 class="title">Edit Profile</h2>
<form name="avatar" action="/edit_profile/" method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ form.as_p }}
<button class="button is-primary" type="submit">Update profile</button>
</form>
</div>
{% endblock %}