I'm trying to customize the CSS/HTML for error message displays in codeigniter so I can apply a tag too each and style them up.
I tried to Google this and search the manual but must have been searching for the wrong terms - can anyone help me out?
Вы можете сделать что-то вроде этого ...
$this->form_validation->set_error_delimiters('<div class="error">', '</div>');
См. Соответствующую документацию Codeigniter
Примечание: Обновлено для правильной ссылки на функцию (проверка должна быть form_validation).
$this->validation->set_error_delimiters('<div class="error">', '</div>');