def validate_body(self, field): missing = get_missing_placeholders('registration-email', field.data, regform=self.regform, registration=None) if missing: raise ValidationError(_('Missing placeholders: {}').format(', '.join(missing)))
def validate_email_body(self, field): missing = get_missing_placeholders("registration-invitation-email", field.data, invitation=None) if missing: raise ValidationError(_("Missing placeholders: {}").format(", ".join(missing)))
def validate_body(self, field): missing = get_missing_placeholders('survey-link-email', field.data, event=None, survey=None) if missing: raise ValidationError(_('Missing placeholders: {}').format(', '.join(missing)))
def validate_body(self, field): missing = get_missing_placeholders('registration-email', field.data, regform=self.regform, registration=None) if missing: raise ValidationError(_('Missing placeholders: {}').format(', '.join(missing)))
def validate_body(self, field): missing = get_missing_placeholders('agreement-email', field.data, definition=self._definition, agreement=None) if missing: raise ValidationError(_('Missing placeholders: {}').format(', '.join(missing)))
def validate_body(self, field): missing = get_missing_placeholders('survey-link-email', field.data, event=None, survey=None) if missing: raise ValidationError(_('Missing placeholders: {}').format(', '.join(missing)))