home73k/lib/home73k_web/templates/layout/live.html.leex

12 lines
347 B
Text
Raw Normal View History

2021-03-28 21:12:55 -04:00
<main role="main" class="container">
<p class="alert alert-info" role="alert"
phx-click="lv:clear-flash"
phx-value-key="info"><%= live_flash(@flash, :info) %></p>
<p class="alert alert-danger" role="alert"
phx-click="lv:clear-flash"
phx-value-key="error"><%= live_flash(@flash, :error) %></p>
<%= @inner_content %>
</main>