Converting categories erb views to haml