rewrite application.html in widgets