<%# Themed Kratos self-service page (todo §4): sign-in / register / reset / verify / settings. Renders a FlowView (src/flow-view.ts) into the html-css-foundation auth layout, reusing the auth-card + field partials. The form posts straight to flow.ui.action — Kratos owns its CSRF. Auto theme follows the OS (styles.css), so no theme switch is shown here. %><% const brand = locals.brand || "Plainpages"; const body = include("partials/flow-body", { flow }); %> <%= flow.title %> <%- include("partials/icons") %>
<%= brand %>
<%- include("partials/auth-card", { action: flow.action, alt: flow.alt, back: flow.back, body, method: flow.method, sub: flow.sub, title: flow.title, }) %>