Pow v0.1.0-alpha Pow.Phoenix.Template View Source
Module that can builds templates for Phoenix views using EEx with Phoenix.HTML.Engine.
Example:
defmodule MyApp.ResourceTemplate do
use Pow.Phoenix.Template
template :new, :html, "<%= content_tag(:span, "Template") %>"
template :edit, :html, {:form, [{:text, :custom}]}
end
MyApp.ResourceTemplate.render(“new.html”, assigns)