Replaced index and created HAML replacement