Current section
Files
Jump to
Current section
Files
lib/phoenix/live_admin/live/home_live.ex
defmodule Phoenix.LiveAdmin.HomeLive do
use Phoenix.LiveAdmin.Web, :live_view
@version_sections [
{:elixir, "Elixir"},
{:phoenix, "Phoenix"},
{:dashboard, "Dashboard"}
]
def mount(_params, _session, socket) do
{:noreply, socket}
end
@impl true
def handle_params(params, _url, socket) do
{:noreply, socket}
end
@impl true
def render(assigns) do
~L"""
<div class="">
<table>
<thead>
<tr>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<th>user@slack.com</th>
</tr>
</tbody>
</table>
</div>
"""
end
end