index to HAML