mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 11:51:27 -08:00
32 lines
No EOL
1.4 KiB
HTML
32 lines
No EOL
1.4 KiB
HTML
{% extends "base.html" %}
|
|
{% from 'bootstrap/form.html' import render_field %}
|
|
|
|
{% block app_content %}
|
|
<div class="row">
|
|
<div class="col main_pane">
|
|
<nav aria-label="breadcrumb" id="breadcrumb_nav" title="Navigation">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item"><a href="/">{{ _('Home') }}</a></li>
|
|
<li class="breadcrumb-item"><a href="/u/{{ user.user_name }}">{{ user.user_name }}</a></li>
|
|
<li class="breadcrumb-item active">{{ _('Edit profile') }}</li>
|
|
</ol>
|
|
</nav>
|
|
<h1 class="mt-2">{{ _('Edit profile of %(name)s', name=user.user_name) }}</h1>
|
|
<form method='post' enctype="multipart/form-data">
|
|
{{ form.csrf_token() }}
|
|
|
|
{{ render_field(form.email) }}
|
|
{{ render_field(form.password_field) }}
|
|
<hr />
|
|
{{ render_field(form.about) }}
|
|
{{ render_field(form.profile_file) }}
|
|
<small class="field_hint">Provide a square image that looks good when small.</small>
|
|
{{ render_field(form.banner_file) }}
|
|
<small class="field_hint">Provide a wide image - letterbox orientation.</small>
|
|
<hr />
|
|
{{ render_field(form.bot) }}
|
|
{{ render_field(form.submit) }}
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |