converted list index view to HAML