1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 15:49:39 +02:00

Light message styling

This commit is contained in:
Josh Pigford 2024-02-03 14:35:32 -06:00
parent c5192ee424
commit 9b400c9c50

View file

@ -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 %>