如果我用这个
<?= validation_errors(); ?>
结果是
Username field is required
Password field is required
<textbox for username>
<textbox for password>
我真正需要的是在它们的元素中显示这些错误
例子:
<textbox for username> Username field is required
<textbox for password> Password field is required