Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Light message styling

Josh Pigford9b400c9c50b2
diff --git a/app/views/shared/_auth_messages.html.erb b/app/views/shared/_auth_messages.html.erb
index 62883dca..4ebc5e5a 100644
--- a/app/views/shared/_auth_messages.html.erb
+++ b/app/views/shared/_auth_messages.html.erb
@@ -1,7 +1,7 @@
<% flash.each do |type, msg| %>
- <div><%= msg %></div>
+ <div class="p-4 bg-<%= type == 'notice' ? 'blue' : 'red' %>-200 rounded-lg"><%= msg %></div>
<% end %>
<% errors.each do |message| %>
- <div><%= message %></div>
+ <div class="p-4 bg-red-200 rounded-lg"><%= message %></div>
<% end %>