Updated index template to link to edit route.