memEx/lib/lokal_web/templates/layout/app.html.heex

20 lines
501 B
Plaintext
Raw Normal View History

2022-01-22 13:01:36 -05:00
<main class="container min-h-full min-w-full">
2021-09-02 23:32:52 -04:00
<header class="mb-4 px-8 py-4 w-full bg-primary-400">
<%= render "topbar.html", assigns %>
2022-01-22 13:01:36 -05:00
2021-09-02 23:32:52 -04:00
<%= if get_flash(@conn, :info) do %>
<p class="alert alert-info" role="alert">
<%= get_flash(@conn, :info) %>
</p>
<% end %>
2022-01-22 13:01:36 -05:00
2021-09-02 23:32:52 -04:00
<%= if get_flash(@conn, :error) do %>
<p class="alert alert-danger" role="alert">
<%= get_flash(@conn, :error) %>
</p>
<% end %>
</header>
2022-01-22 13:01:36 -05:00
2021-03-11 21:12:55 -05:00
<%= @inner_content %>
</main>