convert show page to haml