sms-pager/app/views/layouts/_alerts.html.haml
2015-09-20 13:26:45 -05:00

19 lines
572 B
Plaintext

- unless flash.empty?
- if flash[:notice].present?
.container{'data-id' => 'alertbox', 'data-alert' => 'auto-close'}
.row
.col-md-6.col-md-offset-3.col-xs-12
.alertbox
.alertbox.box_blue
.box_close{'data-id'=> 'alert-close'}
= flash[:notice]
- if flash[:alert].present?
.container{'data-id' => 'alertbox'}
.row
.col-md-6.col-md-offset-3.col-xs-12
.alertbox
.alertbox.box_red
.box_close{'data-id'=> 'alert-close'}
%b= flash[:alert]