FlashMessage: center flash message
otherwise the #flash_message.center is useless
This commit is contained in:
parent
f8b83d6b7c
commit
9f1217c843
1 changed files with 8 additions and 7 deletions
|
@ -1,7 +1,8 @@
|
||||||
|
- if flash.notice.present? || flash.alert.present?
|
||||||
#flash_message.center
|
#flash_message.center
|
||||||
- if flash.notice
|
- if flash.notice.present?
|
||||||
.alert.alert-success
|
.alert.alert-success
|
||||||
= flash.notice
|
= flash.notice
|
||||||
- if flash.alert
|
- if flash.alert.present?
|
||||||
.alert.alert-danger
|
.alert.alert-danger
|
||||||
= flash.alert.html_safe
|
= flash.alert.html_safe
|
||||||
|
|
Loading…
Add table
Reference in a new issue