changed views to haml