summaryrefslogtreecommitdiff
path: root/app/views/shared/_flash.html.haml
blob: 320fd15f07733eb6d8c88e0f1139c915d06f12e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- flash.each do |type, msg|
  .flash{:class => type}
    .light
      .sign= resolve_flash_sign(type)
      .message= msg
        

-# These are the available types:
-# 
-# .flash.notice
-#   .light
-#     .sign i
-#     .message Lorem ipsum dolor sit amet, consectetur adipisicing eli.w
-# 
-# .flash.warning
-#   .light
-#     .sign !
-#     .message Lorem ipsum dolor sit amet, consectetur adipisicing eli.w