mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-23 23:29:39 +02:00
Centralize auth messages
This commit is contained in:
parent
40c6c4b756
commit
2adf2de190
8 changed files with 23 additions and 19 deletions
7
app/views/shared/_auth_messages.html.erb
Normal file
7
app/views/shared/_auth_messages.html.erb
Normal file
|
@ -0,0 +1,7 @@
|
|||
<% flash.each do |type, msg| %>
|
||||
<div><%= msg %></div>
|
||||
<% end %>
|
||||
|
||||
<% errors.each do |message| %>
|
||||
<div><%= message %></div>
|
||||
<% end %>
|
Loading…
Add table
Add a link
Reference in a new issue