Merge pull request #255 from sgmap/fix_centered_flash_message

FlashMessage: center flash message
This commit is contained in:
LeSim 2017-05-09 12:38:18 +02:00 committed by GitHub
commit d447148fca

View file

@ -1,7 +1,8 @@
- if flash.notice.present? || flash.alert.present?
#flash_message.center
- if flash.notice
- if flash.notice.present?
.alert.alert-success
= flash.notice
- if flash.alert
- if flash.alert.present?
.alert.alert-danger
= flash.alert.html_safe