takahe/templates/settings/profile.html

24 lines
891 B
HTML

{% extends "settings/base.html" %}
{% block subtitle %}Profile{% endblock %}
{% block content %}
<form action="." method="POST" enctype="multipart/form-data" >
{% csrf_token %}
<fieldset>
<legend>Details</legend>
{% include "forms/_field.html" with field=form.name %}
{% include "forms/_field.html" with field=form.summary %}
</fieldset>
<fieldset>
<legend>Images</legend>
{% include "forms/_field.html" with field=form.icon preview=request.identity.icon.url %}
{% include "forms/_field.html" with field=form.image preview=request.identity.image.url %}
</fieldset>
<div class="buttons">
<a href="{{ request.identity.urls.view }}" class="button secondary left">View Profile</a>
<button>Save</button>
</div>
</form>
{% endblock %}