takahe/templates/settings/profile.html

30 lines
1.1 KiB
HTML
Raw Normal View History

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"
_="on submit metadata.collectMetadataFields()">
2022-11-17 15:21:42 +00:00
{% 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 %}
{% include "forms/_json_name_value_list.html" with field=form.metadata %}
2022-11-26 01:32:45 +00:00
{% include "forms/_field.html" with field=form.discoverable %}
{% include "forms/_field.html" with field=form.visible_follows %}
2022-11-18 00:43:00 +00:00
</fieldset>
2022-11-18 00:43:00 +00:00
<fieldset>
<legend>Images</legend>
{% include "forms/_field.html" with field=form.icon %}
{% include "forms/_field.html" with field=form.image %}
2022-11-18 00:43:00 +00:00
</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 %}