2020-09-12 18:43:17 -04:00
|
|
|
<main role="main" class="container">
|
2021-02-26 12:07:33 -05:00
|
|
|
|
|
|
|
<%# phoenix flash alerts: %>
|
|
|
|
<div class="container">
|
|
|
|
<%= for {kind, class} <- alert_kinds() do %>
|
|
|
|
<%= if flash_content = get_flash(@conn, kind) do %>
|
|
|
|
<div class="<%= class %> alert-dismissible fade show" role="alert">
|
|
|
|
<%= flash_content %>
|
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
|
2020-09-12 18:43:17 -04:00
|
|
|
<%= @inner_content %>
|
2021-02-26 12:07:33 -05:00
|
|
|
|
2020-09-12 18:43:17 -04:00
|
|
|
</main>
|