changed index erb to haml