Rewrite templates in Haml