forked from shibao/cannery
20 lines
467 B
Plaintext
20 lines
467 B
Plaintext
<main class="m-0 p-0 w-full h-full">
|
|
<header>
|
|
<.topbar current_user={assigns[:current_user]}></.topbar>
|
|
|
|
<%= if get_flash(@conn, :info) do %>
|
|
<p class="alert alert-info" role="alert">
|
|
<%= get_flash(@conn, :info) %>
|
|
</p>
|
|
<% end %>
|
|
|
|
<%= if get_flash(@conn, :error) do %>
|
|
<p class="alert alert-danger" role="alert">
|
|
<%= get_flash(@conn, :error) %>
|
|
</p>
|
|
<% end %>
|
|
</header>
|
|
|
|
<%= @inner_content %>
|
|
</main>
|