demarches-normaliennes/app/views/layouts/_flash_messages.html.haml
Simon Lehericey 9f1217c843 FlashMessage: center flash message
otherwise the #flash_message.center is useless
2017-05-09 12:28:27 +02:00

8 lines
244 B
Text

- 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