converts views to haml