Skip to content

Commit 3b1078f

Browse files
committed
docs: change text decoration
1 parent 6cd0839 commit 3b1078f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/libraries/validation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ or the value that was validated you can add the ``{field}``, ``{param}`` and ``{
527527

528528
'min_length' => 'Supplied value ({value}) for {field} must have at least {param} characters.'
529529

530-
On a field with the human name Username and a rule of min_length[6] with a value of “Pizza”, an error would display: “Supplied value (Pizza) for Username must have
530+
On a field with the human name Username and a rule of ``min_length[6]`` with a value of “Pizza”, an error would display: “Supplied value (Pizza) for Username must have
531531
at least 6 characters.”
532532

533533
.. note:: If you pass the last parameter the labeled style error messages will be ignored.
@@ -643,11 +643,11 @@ short alias they can be referenced by. If we were to add our example file from a
643643
Specifying the Template
644644
=======================
645645

646-
You can specify the template to use by passing it's alias as the first parameter in ``listErrors``::
646+
You can specify the template to use by passing it's alias as the first parameter in ``listErrors()``::
647647

648648
<?= $validation->listErrors('my_list') ?>
649649

650-
When showing field-specific errors, you can pass the alias as the second parameter to the ``showError`` method,
650+
When showing field-specific errors, you can pass the alias as the second parameter to the ``showError()`` method,
651651
right after the name of the field the error should belong to::
652652

653653
<?= $validation->showError('username', 'my_single') ?>

0 commit comments

Comments
 (0)