switch from html to haml