We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ca894a commit c8c4d8eCopy full SHA for c8c4d8e
1 file changed
user_guide_src/source/tutorial/create_news_items.rst
@@ -24,7 +24,7 @@ the slug from our title in the model. Create the new view at
24
25
<h2><?= esc($title); ?></h2>
26
27
- <?= validation_errors(); ?>
+ <?= \Config\Services::validation()->listErrors(); ?>
28
29
<?= form_open('news/create'); ?>
30
@@ -39,7 +39,7 @@ the slug from our title in the model. Create the new view at
39
</form>
40
41
There are only two things here that probably look unfamiliar to you: the
42
-``form_open()`` function and the ``validation_errors()`` function.
+``form_open()`` function and the ``\Config\Services::validation()->listErrors()`` function.
43
44
The first function is provided by the :doc:`form
45
helper <../helpers/form_helper>` and renders the form element and
0 commit comments