takahe/templates/settings/profile.html

24 lines
822 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 %}
{% include "forms/_field.html" with field=form.image %}
</fieldset>
<div class="buttons">
<a href="{{ request.identity.urls.view }}" class="button secondary left">View Profile</a>
<button>Save</button>
</div>
</form>
{% endblock %}