/**
  * returns the HTML for the server-side validation errors for the specified input
  * Note that if JS is enabled, it should remove these and instead
  * populate the form's errors in the jquery validate fashion
  * using the localized data provided to the JS
  * @param EE_Form_Input_Base $input
  * @return string
  */
 public function display_errors($input)
 {
     if ($input->get_validation_errors()) {
         return "<span  id='" . $input->html_id() . "-error' class='ee-error-label red ee-red' for='{$input->html_name()}'>" . $input->get_validation_error_string() . "</span>";
     } else {
         return '';
     }
 }