How to use html in rails flash message
At the end of the message string just call html_safe. Example. flash.now.alert = “message with <b>bolded text</b>”.html_safe source:...
Read MorePosted by papadiddydoo | Dec 21, 2012 | Rails, Ruby |
At the end of the message string just call html_safe. Example. flash.now.alert = “message with <b>bolded text</b>”.html_safe source:...
Read More
Recent Comments