Initial commit
This commit is contained in:
11
lib/something_erlang_web/templates/layout/live.html.heex
Normal file
11
lib/something_erlang_web/templates/layout/live.html.heex
Normal file
@ -0,0 +1,11 @@
|
||||
<main class="container mx-auto">
|
||||
<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>
|
Reference in New Issue
Block a user