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