2022-02-18 17:43:33 -05:00
|
|
|
<main role="main" class="min-h-full min-w-full">
|
2022-02-13 21:20:04 -05:00
|
|
|
<header>
|
2023-02-26 00:40:55 -05:00
|
|
|
<.topbar current_user={assigns[:current_user]} />
|
2022-02-08 23:38:20 -05:00
|
|
|
|
2022-02-13 21:20:04 -05:00
|
|
|
<div class="mx-8 my-2 flex flex-col space-y-4 text-center">
|
2023-04-14 23:34:11 -04:00
|
|
|
<p :if={@flash["info"]} class="alert alert-info" role="alert">
|
|
|
|
<%= @flash["info"] %>
|
2023-02-04 10:28:13 -05:00
|
|
|
</p>
|
2023-04-14 23:34:11 -04:00
|
|
|
<p :if={@flash["error"]} class="alert alert-danger" role="alert">
|
|
|
|
<%= @flash["error"] %>
|
2023-02-04 10:28:13 -05:00
|
|
|
</p>
|
2022-02-13 21:20:04 -05:00
|
|
|
</div>
|
|
|
|
</header>
|
2022-02-08 23:38:20 -05:00
|
|
|
|
2022-02-15 23:52:44 -05:00
|
|
|
<div class="mx-4 sm:mx-8 md:mx-16">
|
|
|
|
<%= @inner_content %>
|
|
|
|
</div>
|
2021-03-11 21:12:55 -05:00
|
|
|
</main>
|