[#132] add html support in flash notifies
This commit is contained in:
parent
70a2705405
commit
89261bf034
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue