feractor some views to haml