View Source Pow.Phoenix.Mailer.Component (Pow v1.0.38)
Compnent macros for Pow.Phoenix.Mailer
.
Usage
defmodule MyAppWeb.Web do
@moduledoc false
use Pow.Phoenix.Mailer.Component
@html ~H"""
<p>Hi, <% @user %>, this is <i>HTML</i>!</p>
"""
@text ~P"""
Hi, <%= @user %>, this is plain text!
"""
end