2021-03-28 21:12:55 -04:00
|
|
|
<main role="main" class="container">
|
2021-03-29 11:27:44 -04:00
|
|
|
|
|
|
|
<%# phoenix flash alerts: %>
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
<div class="col-md-12 col-lg-10 col-xxl-8 ">
|
|
|
|
<%= for {kind, class} <- alert_kinds() do %>
|
|
|
|
<%= if flash_content = get_flash(@conn, kind) do %>
|
|
|
|
<div class="alert <%= 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>
|
|
|
|
</div>
|
|
|
|
|
2021-03-28 21:12:55 -04:00
|
|
|
<%= @inner_content %>
|
2021-03-29 11:27:44 -04:00
|
|
|
|
2021-03-28 21:12:55 -04:00
|
|
|
</main>
|