summaryrefslogtreecommitdiff
path: root/lib/aggiedit_web/templates/layout/live.html.heex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/aggiedit_web/templates/layout/live.html.heex')
-rw-r--r--lib/aggiedit_web/templates/layout/live.html.heex11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/aggiedit_web/templates/layout/live.html.heex b/lib/aggiedit_web/templates/layout/live.html.heex
new file mode 100644
index 0000000..a29d604
--- /dev/null
+++ b/lib/aggiedit_web/templates/layout/live.html.heex
@@ -0,0 +1,11 @@
+<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>