Rewrite html to haml