##// END OF EJS Templates
Adds an id to the flash message divs (#9034)....
Jean-Philippe Lang -
r9395:253b02bd224e
parent child
Show More
@@ -220,7 +220,7 module ApplicationHelper
220 220 def render_flash_messages
221 221 s = ''
222 222 flash.each do |k,v|
223 s << (content_tag('div', v.html_safe, :class => "flash #{k}"))
223 s << content_tag('div', v.html_safe, :class => "flash #{k}", :id => "flash_#{k}")
224 224 end
225 225 s.html_safe
226 226 end
General Comments 0
You need to be logged in to leave comments. Login now