takahe/templates/settings/profile.html

35 lines
1.2 KiB
HTML
Raw Permalink 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 settings_content %}
<form action="." method="POST" enctype="multipart/form-data"
2023-11-09 19:07:21 +00:00
_="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-18 00:43:00 +00:00
</fieldset>
2022-11-18 00:43:00 +00:00
<fieldset>
<legend>Appearance</legend>
{% include "forms/_field.html" with field=form.icon %}
{% include "forms/_field.html" with field=form.image %}
{% include "forms/_field.html" with field=form.boosts_on_profile %}
</fieldset>
<fieldset>
<legend>Privacy</legend>
{% include "forms/_field.html" with field=form.discoverable %}
{% include "forms/_field.html" with field=form.visible_follows %}
{% include "forms/_field.html" with field=form.search_enabled %}
2022-11-18 00:43:00 +00:00
</fieldset>
2022-11-17 15:21:42 +00:00
<div class="buttons">
<button>Save</button>
</div>
</form>
{% endblock %}