sms-pager/app/views/layouts/_alerts.html.haml

11 lines
354 B
Plaintext
Raw Permalink Normal View History

2015-09-20 13:26:45 -05:00
- unless flash.empty?
- if flash[:notice].present?
2015-10-03 08:57:06 -05:00
.alertbox.box-blue{ 'data-id' => 'alertbox', 'data-alert' => 'auto_close' }
.box-close{ 'data-id' => 'alert_close' }
= flash[:notice]
2015-09-20 13:26:45 -05:00
- if flash[:alert].present?
2015-10-03 08:57:06 -05:00
.alertbox.box-red{ 'data-id' => 'alertbox' }
.box-close{ 'data-id' => 'alert_close' }
%b= flash[:alert]