2022-11-17 16:43:00 -08:00
|
|
|
{% extends "settings/base.html" %}
|
2022-11-17 07:21:42 -08:00
|
|
|
|
2022-11-17 16:43:00 -08:00
|
|
|
{% block subtitle %}Profile{% endblock %}
|
2022-11-17 07:21:42 -08:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<form action="." method="POST" enctype="multipart/form-data" >
|
|
|
|
{% csrf_token %}
|
2022-11-17 16:43:00 -08:00
|
|
|
<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>
|
2022-11-17 07:21:42 -08:00
|
|
|
<div class="buttons">
|
2022-11-17 16:43:00 -08:00
|
|
|
<a href="{{ request.identity.urls.view }}" class="button secondary left">View Profile</a>
|
2022-11-17 07:21:42 -08:00
|
|
|
<button>Save</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|