index to haml