{# Shared building blocks for the settings modal sections. #} {# Usage: {% import 'components/modals/settings/_macros.html' as sm with context %} #} {# `with context` is required so macros can call the `t()` translation function. #} {% macro setting_toggle(id, key, label, help='') %}
{% endmacro %} {% macro setting_select(id, key, label, options, help='') %}
{% endmacro %} {% macro setting_input(id, key, label, placeholder, help='') %}
{% endmacro %} {% macro subsection_header(title) %}

{{ t(title) }}

{% endmacro %}