{% endmacro %}
{% for sec_name, fields in sections.items() %}{{ render_section(sec_name, fields, sections_levels.get(sec_name, 0)) }}{% endfor %}
{{ _('set') if env_vars.get('ANTEUMBRA_PASSWORD_HASH', '')|trim else _('not set') }}
{# Write-only on purpose: this panel used to print every stored credential into
the page source. An empty field means "leave the stored value alone", which
is how the save handler already behaves, so nothing here needs the value. #}
{% for key in ['ANTEUMBRA_WECHAT_API_KEY', 'ANTEUMBRA_EMAIL_USERNAME', 'ANTEUMBRA_EMAIL_PASSWORD', 'ANTEUMBRA_EMAIL_FROM', 'ANTEUMBRA_EMAIL_TO', 'ANTEUMBRA_WEBHOOK_SECRET'] %}
{% set is_set = env_vars.get(key, '')|trim != '' %}
{% endfor %}
{{ _('Saved') }}{{ _('Credentials never committed to git.') }}