migrate html to haml