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

Summary

Functions

Link to this macro

sigil_H(arg, list)

View Source (macro)
Link to this macro

sigil_P(arg, list)

View Source (macro)