summaryrefslogtreecommitdiff
path: root/app/views/application/_flash_messages.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/application/_flash_messages.html.erb')
-rw-r--r--app/views/application/_flash_messages.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/application/_flash_messages.html.erb b/app/views/application/_flash_messages.html.erb
new file mode 100644
index 0000000..a1c7467
--- /dev/null
+++ b/app/views/application/_flash_messages.html.erb
@@ -0,0 +1,6 @@
+<% if notice %>
+ <div class="flash-message bg-gray-700 text-gray-200"><%= notice %></div>
+<% end %>
+<% if alert %>
+ <div class="flash-message bg-red-800 text-red-300"><%= alert %></div>
+<% end %>