How to add html element to flash [:notice] ?

Hello all,

I confused about how to add HTML control like anchor tag <a></a> to flash[:notice].

The flash is just a hash that knows to remove items automatically, so this question is entirely down to how you use the flash in your app. For example if you display the flash by doing

<%= h flash[:notice] %> then any html content in the flash will be escaped.

Fred

This is my code