converting views from erb to haml