bones73k/lib/real_estate_web/templates/layout/live.html.leex

12 lines
347 B
Text
Raw Normal View History

2020-09-12 18:43:17 -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>