mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-26 00:29:40 +02:00
Light message styling
This commit is contained in:
parent
c5192ee424
commit
9b400c9c50
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<% flash.each do |type, msg| %>
|
<% flash.each do |type, msg| %>
|
||||||
<div><%= msg %></div>
|
<div class="p-4 bg-<%= type == 'notice' ? 'blue' : 'red' %>-200 rounded-lg"><%= msg %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% errors.each do |message| %>
|
<% errors.each do |message| %>
|
||||||
<div><%= message %></div>
|
<div class="p-4 bg-red-200 rounded-lg"><%= message %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue