convert views to haml