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

11 lines
344 B
Plaintext

- 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]
- if flash[:alert].present?
.alertbox.box-red{'data-id' => 'alertbox'}
.box-close{'data-id'=> 'alert_close'}
%b= flash[:alert]