FlashMessage: center flash message

otherwise the #flash_message.center is useless
This commit is contained in:
Simon Lehericey 2017-05-05 13:59:32 +02:00
parent f8b83d6b7c
commit 9f1217c843

View file

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