replaced pages index page - erb to haml