{# _auth_macros.html — reusable building blocks for auth form partials. Usage: {% import "_partials/_auth_macros.html" as auth %} {{ auth.kicker(app_name, "Sign in", swap_href="/register", ...) }} #} {% macro kicker(app_name, section, swap_href="", swap_label="", swap_prefix="") %} {{ (app_name or title_brand or "allowthem") }} · {{ section }} {% if swap_href %} {{ swap_prefix }} {{ swap_label }} → {% endif %} {% endmacro %} {% macro tabs(active, signup_href="/register") %}
{% endmacro %} {% macro oauth_grid(providers, next="") %} {% if providers %}