Repair template