This repository has been archived on 2023-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
takahe/templates/settings/profile.html

24 lines
891 B
HTML
Raw Normal View History

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