converted index view to haml