added html_safe to title in views