mitgliederverwaltung/lib/mv_web/emails/email_layout_view.ex
Simon 5deb102e45
All checks were successful
continuous-integration/drone/push Build is passing
refactor: adress review comments
2026-03-09 18:54:40 +01:00

15 lines
560 B
Elixir

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