def
render_flash
output =
[
]
for
key,value
in
flash
output <<
"<div id=
\"
#{key.to_s.downcase}
\"
>#{value}</div>"
end
if
flash
output.
join
end