dashboard converted to haml