{% extends theme('base.html') %} {% import 'macro/flask.html' as flask %} {% import 'macro/form.html' as fui %} {% block container %}
{% block auth_header %} {% if logo_url %} {{ website_name }} {% else %} {% endif %}

{% block auth_title %} {% if g.auth and g.auth.user_name %} {% if g.auth.known_user and g.auth.user %} {{ g.auth.user.name }} {% if g.auth.user.photo %} {{ g.auth.user.name }} {% else %} ยท {% endif %} {{ g.auth.user.user_name }} {% elif g.auth.user_name %} {{ g.auth.user_name }} {% endif %} {% block auth_subtitle %}{% endblock %} {% else %}
{{ _("Sign in at %(website)s", website=website_name) }}
{% trans %}Manage your information and your authorizations{% endtrans %}
{% endif %} {% endblock %}

{% endblock %} {% block messages %} {{ flask.messages() }} {% endblock %} {% block auth_content %} {% call fui.render_form(form, hx_boost="false") %} {% block auth_form_content %}{% endblock %} {% block auth_buttons %}
{% block auth_left_buttons %} {% trans %}Switch account{% endtrans %} {% endblock %}
{% block auth_right_buttons %}{% endblock %}
{% endblock %} {% endcall %} {% endblock %}
{% endblock %}