pyfedi/app/templates/user/edit_settings.html

28 lines
1.2 KiB
HTML
Raw Normal View History

2023-10-07 21:32:19 +13:00
{% extends "base.html" %}
{% from 'bootstrap/form.html' import render_field %}
2023-10-07 21:32:19 +13:00
{% block app_content %}
<div class="row">
2023-11-09 21:32:29 +13:00
<div class="col main_pane">
2023-10-07 21:32:19 +13:00
<nav aria-label="breadcrumb" id="breadcrumb_nav" title="Navigation">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">{{ _('Home') }}</a></li>
2024-01-09 20:44:08 +13:00
<li class="breadcrumb-item"><a href="/u/{{ user.link() }}">{{ user.display_name() }}</a></li>
2023-10-07 21:32:19 +13:00
<li class="breadcrumb-item active">{{ _('Change settings') }}</li>
</ol>
</nav>
<h1 class="mt-2">{{ _('Change settings') }}</h1>
<form method='post' enctype="multipart/form-data">
{{ form.csrf_token() }}
{{ render_field(form.newsletter) }}
{{ render_field(form.ignore_bots) }}
{{ render_field(form.nsfw) }}
{{ render_field(form.nsfl) }}
{{ render_field(form.searchable) }}
{{ render_field(form.indexable) }}
{{ render_field(form.import_file) }}
{{ render_field(form.submit) }}
2023-10-07 21:32:19 +13:00
</form>
</div>
</div>
{% endblock %}