amis index to haml