takahe/templates/settings/profile.html

29 lines
1.1 KiB
HTML

{% extends "settings/base.html" %}
{% block subtitle %}Profile{% endblock %}
{% block content %}
<form action="." method="POST" enctype="multipart/form-data"
_="on submit metadata.collectMetadataFields()">
{% csrf_token %}
<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 %}
{% include "forms/_field.html" with field=form.discoverable %}
{% include "forms/_field.html" with field=form.visible_follows %}
</fieldset>
<fieldset>
<legend>Images</legend>
{% include "forms/_field.html" with field=form.icon %}
{% include "forms/_field.html" with field=form.image %}
</fieldset>
<div class="buttons">
<a href="{{ request.identity.urls.view }}" class="button secondary left">View Profile</a>
<button>Save</button>
</div>
</form>
{% endblock %}