diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-22 22:22:34 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-23 04:22:34 +0200 |
commit | 532bec6e564884c2bd5b2bcc7cab929f4f2cabf5 (patch) | |
tree | bfaea49ce3400ad9341a37638ede98aff7007f17 /app/views/application/_flashes.html.haml | |
parent | ee82d8a8761f0bedc97f5e79565b7c5142c1b8bd (diff) |
Clean up flash display in views (#2336)
* Add flashes partial to DRY up admin/auth layouts * Further consolidate flash messages
Diffstat (limited to 'app/views/application/_flashes.html.haml')
-rw-r--r-- | app/views/application/_flashes.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/application/_flashes.html.haml b/app/views/application/_flashes.html.haml new file mode 100644 index 000000000..63587e777 --- /dev/null +++ b/app/views/application/_flashes.html.haml @@ -0,0 +1,3 @@ +- user_facing_flashes.each do |key, value| + .flash-message{class: key} + %strong= value |