use more beautiful close mark

This commit is contained in:
wvengen 2013-04-10 17:34:24 +02:00
parent a501fac76f
commit 6c65799025
9 changed files with 9 additions and 9 deletions

View file

@ -152,7 +152,7 @@ module ApplicationHelper
type = :success if type == :notice
type = :error if type == :alert
text = content_tag(:div,
content_tag(:button, I18n.t('ui.marks.close'), :class => "close", "data-dismiss" => "alert") +
content_tag(:button, I18n.t('ui.marks.close').html_safe, :class => "close", "data-dismiss" => "alert") +
message, :class => "alert fade in alert-#{type}")
flash_messages << text if message
end