Skip to content

Commit 3d19080

Browse files
committed
docs: add links
1 parent 278f75e commit 3d19080

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/helpers/form_helper.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Escaping Field Values
3030
You may need to use HTML and characters such as quotes within your form
3131
elements. In order to do that safely, you'll need to use
3232
:doc:`common function <../general/common_functions>`
33-
:func:`esc()`.
33+
:php:func:`esc()`.
3434

3535
Consider the following example:
3636

@@ -103,7 +103,7 @@ The following functions are available:
103103

104104
<form action="http://example.com/index.php/email/send" class="email" id="myform" method="post" accept-charset="utf-8">
105105

106-
If CSRF filter is turned on ``form_open()`` will generate CSRF field at the beginning of the form. You can specify ID of this field by passing csrf_id as one of the ``$attribute`` array:
106+
If :ref:`CSRF <cross-site-request-forgery>` filter is turned on ``form_open()`` will generate CSRF field at the beginning of the form. You can specify ID of this field by passing csrf_id as one of the ``$attribute`` array:
107107

108108
.. literalinclude:: form_helper/007.php
109109

0 commit comments

Comments
 (0)