Adds an id to the flash message divs (#9034).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9578 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
99cfca6f83
commit
253b02bd22
|
@ -220,7 +220,7 @@ module ApplicationHelper
|
||||||
def render_flash_messages
|
def render_flash_messages
|
||||||
s = ''
|
s = ''
|
||||||
flash.each do |k,v|
|
flash.each do |k,v|
|
||||||
s << (content_tag('div', v.html_safe, :class => "flash #{k}"))
|
s << content_tag('div', v.html_safe, :class => "flash #{k}", :id => "flash_#{k}")
|
||||||
end
|
end
|
||||||
s.html_safe
|
s.html_safe
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue