[#132] add html support in flash notifies

This commit is contained in:
Alexander Machehin 2013-05-17 17:24:18 +06:00
parent 70a2705405
commit 89261bf034
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
.flash_notify
- if (flash_notify = FlashNotify.published.first) && flash_notify.should_show?(cookies[:flash_notify_hash])
.alert{:class => "alert-#{flash_notify.status}"}
= flash_notify.body I18n.locale
= flash_notify.body(I18n.locale).html_safe
%a.close#close-alert{:'data-dismiss'=>"alert", :href=>"#"} ×
:javascript