2020-07-09 00:57:30 -04:00
|
|
|
defmodule {Package}.{Name}Live do
|
2020-07-28 00:12:58 -04:00
|
|
|
use {Package}, :live_view
|
2020-07-09 00:57:30 -04:00
|
|
|
@impl true
|
|
|
|
|
|
|
|
def mount(_params, _session, socket) do
|
|
|
|
{:ok, assign(socket)}
|
|
|
|
end
|
|
|
|
|
|
|
|
def render(assigns) do
|
|
|
|
~L"""
|
|
|
|
"""
|
|
|
|
end
|
|
|
|
|
|
|
|
{body}
|
|
|
|
end
|