summaryrefslogtreecommitdiff
path: root/app/views/layouts/_notifications.html.erb
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2024-12-29 15:14:43 +0100
committerMarius Peter <marius.peter@tutanota.com>2024-12-29 15:14:43 +0100
commitbe2a93525069de2dfa3c23b0c23e7a9f7ad4c03d (patch)
treeb5493e9d35d024ce7be072ec2168b4a98ba0e63f /app/views/layouts/_notifications.html.erb
First commit.
Diffstat (limited to 'app/views/layouts/_notifications.html.erb')
-rw-r--r--app/views/layouts/_notifications.html.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/layouts/_notifications.html.erb b/app/views/layouts/_notifications.html.erb
new file mode 100644
index 0000000..3e1eb83
--- /dev/null
+++ b/app/views/layouts/_notifications.html.erb
@@ -0,0 +1,8 @@
+<div id="notifications">
+ <% if alert %>
+ <p class="alert"><%= alert %></p>
+ <% end %>
+ <% if notice %>
+ <p class="notice"><%= notice %></p>
+ <% end %>
+</div>
Copyright 2019--2025 Marius PETER