Merge pull request #255 from sgmap/fix_centered_flash_message
FlashMessage: center flash message
This commit is contained in:
commit
d447148fca
1 changed files with 8 additions and 7 deletions
|
@ -1,7 +1,8 @@
|
|||
#flash_message.center
|
||||
- if flash.notice
|
||||
.alert.alert-success
|
||||
= flash.notice
|
||||
- if flash.alert
|
||||
.alert.alert-danger
|
||||
= flash.alert.html_safe
|
||||
- if flash.notice.present? || flash.alert.present?
|
||||
#flash_message.center
|
||||
- if flash.notice.present?
|
||||
.alert.alert-success
|
||||
= flash.notice
|
||||
- if flash.alert.present?
|
||||
.alert.alert-danger
|
||||
= flash.alert.html_safe
|
||||
|
|
Loading…
Reference in a new issue