Rewrite erb to haml for default layout