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

11 lines
344 B
Plaintext
Raw Normal View History

2015-09-20 13:26:45 -05:00
- unless flash.empty?
- if flash[:notice].present?
.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?
.alertbox.box-red{'data-id' => 'alertbox'}
.box-close{'data-id'=> 'alert_close'}
%b= flash[:alert]