mirror of
https://github.com/we-promise/sure.git
synced 2026-04-16 10:34:09 +00:00
Centralize auth messages (#269)
* Add i18n-tasks * Add auth-related i18n * Centralize auth messages * Remove safe navigation * Revert "Remove safe navigation" This reverts commit 56b5e01e5e0ab9f54a9a5d9f5559e29897d239a4. * Remove newline in Gemfile
This commit is contained in:
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 %>
|
||||
Reference in New Issue
Block a user