2022-02-12 23:26:29 -05:00
|
|
|
<main class="m-0 p-0 w-full h-full">
|
2022-02-13 21:28:20 -05:00
|
|
|
<header>
|
|
|
|
<.topbar current_user={assigns[:current_user]}></.topbar>
|
|
|
|
|
|
|
|
<%= if @flash && @flash |> Map.has_key?(:info) do %>
|
|
|
|
<p class="alert alert-info" role="alert" phx-click="lv:clear-flash" phx-value-key="info">
|
|
|
|
<%= live_flash(@flash, :info) %>
|
|
|
|
</p>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= if @flash && @flash |> Map.has_key?(:error) do %>
|
|
|
|
<p class="alert alert-danger" role="alert" phx-click="lv:clear-flash" phx-value-key="error">
|
|
|
|
<%= live_flash(@flash, :error) %>
|
|
|
|
</p>
|
|
|
|
<% end %>
|
|
|
|
</header>
|
|
|
|
|
2022-01-22 13:01:36 -05:00
|
|
|
<%= @inner_content %>
|
|
|
|
</main>
|