summaryrefslogtreecommitdiff
path: root/app/views/shared/_flash.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_flash.html.haml')
-rw-r--r--app/views/shared/_flash.html.haml19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/views/shared/_flash.html.haml b/app/views/shared/_flash.html.haml
new file mode 100644
index 0000000..320fd15
--- /dev/null
+++ b/app/views/shared/_flash.html.haml
@@ -0,0 +1,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
+