protected function errorsToPlaceholders(Model $model)
 {
     $errors = ArrayHelper::only($model->getErrors(), [], $model->safeAttributes());
     $this->template->addMultiPlaceholders($errors);
 }