Convert application view to haml