summaryrefslogtreecommitdiff
path: root/pages/common
diff options
context:
space:
mode:
Diffstat (limited to 'pages/common')
-rw-r--r--pages/common/_notice.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/pages/common/_notice.haml b/pages/common/_notice.haml
new file mode 100644
index 0000000..dc15c96
--- /dev/null
+++ b/pages/common/_notice.haml
@@ -0,0 +1,9 @@
+.row
+ .col-sm-8.col-sm-offset-2
+ - if @locals[:type] == 'warning'
+ .p.alert.alert-danger
+ %i.fa.fa-warning
+ = @locals[:text]
+ - elsif @locals[:type] == 'info'
+ .p.alert.alert-info
+ = @locals[:text]