mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 20:14:08 +00:00
Light message styling
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user