{# _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 "allowthem") }} · {{ section }} {% if swap_href %} {{ swap_prefix }} {{ swap_label }} → {% endif %} {% endmacro %} {% macro tabs(active) %}
Sign in Sign up
{% endmacro %} {% macro oauth_grid(providers, next="") %} {% if providers %}
or
{% for p in providers %} {{ p }} {% endfor %}
{% endif %} {% endmacro %} {% macro terms_footer() %}

By continuing, you agree to our Terms and Privacy.

{% endmacro %}