frenzy/lib/frenzy_web/templates/layout/live.html.leex

5 lines
282 B
Plaintext

<p class="alert alert-primary" 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 %>