{# Shared auth modal โ€” drop {% include '_auth_modal.html' %} just before in any landing template so the page's Sign In / Client Portal / Get Started buttons can call openAuth(...) and get a working modal. Self-contained: brings the modal markup, the window.TENANT injection so JS can resolve slot โ†’ tenant role, and the index.js include. Account-type buttons use SLOT names (primary/talent/fan/money/vendor) โ€” selectAccountType in index.js resolves to the tenant's actual role at submit time, so every tenant signs up with the right plan string. Requires: request.state.tenant resolved (TenantMiddleware does this on every request). CSS comes from /static/css/main.css. #} {% if auth_error %} {% endif %}