edit view for index scaffolding