{% extends "user-settings.html" %} {% import '_form_macros.html' as macros %} {% block head %} {{ super() }} {{ macros.selectize_css() }} {% endblock %} {% block settings_content %}
user avatar {% set buttontext = _('Change Avatar')%} {%- if OPENID is defined %}
{%- else %} {{ buttontext }} {%- endif %}
{{ form.csrf_token }}
{{ macros.with_errors(form.firstname) }}
{{ macros.with_errors(form.lastname) }}
{{ macros.with_errors(form.pronouns) }}
{{ macros.with_errors(form.locale, class="custom-select") }}
{{ macros.with_errors(form.timezone, class="custom-select") }}
{{ macros.with_errors(form.website_url) }}

{{ form.ircnick.label(class_="mt-2") }}

{% trans %} The format is either username or username:server.name if you're not using the default servers: {% endtrans %}

    {% for name, title in form.ircnick.entries[0].subfields[0].choices %}
  • {% trans server=config["CHAT_NETWORKS"][name]["default_server"] %} For {{title}}: {{server}} {% endtrans %}
  • {% endfor %}
{{ macros.with_errors(form.ircnick, label=False) }}
{{ macros.with_errors(form.github) }}
{{ macros.with_errors(form.gitlab) }}
{{ macros.with_errors(form.is_private) }}
{% endblock %} {% block scripts %} {{ super () }} {{ macros.unsaved_changes() }} {{ macros.selectize() }} {% endblock %}