19 lines
572 B
Plaintext
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]
|