19 lines
604 B
Elixir
19 lines
604 B
Elixir
<main role="main" class="container">
|
|
|
|
<%# phoenix flash alerts: %>
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-12 col-lg-10 col-xl-9 ">
|
|
<%= for {kind, color} <- alert_kinds() do %>
|
|
<%= if flash_content = get_flash(@conn, kind) do %>
|
|
<div class="alert alert-<%= color %> 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>
|
|
</div>
|
|
|
|
<%= @inner_content %>
|
|
|
|
</main>
|