defmodule MvWeb.EmailLayoutView do @moduledoc """ Layout view for transactional emails (join confirmation, user confirmation, password reset). Renders a single layout template that wraps all email body content. See docs/email-layout-mockup.md for the layout structure. Uses Phoenix.View (legacy API) for compatibility with phoenix_swoosh email rendering. Layout expects assigns :app_name and :locale (passed from each email sender). """ use Phoenix.View, root: "lib/mv_web", path: "templates/emails/layouts", namespace: MvWeb end