Replace missing index erb