Please provide sanitization for each field, if it is done in a code the template must explicitly say that and point to the code. It should apply to all $fields in this template.