Clean up flash display in views (#2336)
* Add flashes partial to DRY up admin/auth layouts * Further consolidate flash messages
This commit is contained in:
parent
ee82d8a876
commit
532bec6e56
4 changed files with 12 additions and 14 deletions
3
app/views/application/_flashes.html.haml
Normal file
3
app/views/application/_flashes.html.haml
Normal file
|
@ -0,0 +1,3 @@
|
|||
- user_facing_flashes.each do |key, value|
|
||||
.flash-message{class: key}
|
||||
%strong= value
|
Loading…
Add table
Add a link
Reference in a new issue