Rewriting layout to haml