Skip to content

Commit e5721a4

Browse files
authored
Merge pull request #4037 from totoprayogo1916/update/userguide/code
fix codeblock
2 parents 34545ab + 615bde6 commit e5721a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

user_guide_src/source/helpers/form_helper.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@ The following functions are available:
100100

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

103-
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:
103+
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::
104104

105105
form_open('/u/sign-up', ['csrf_id' => 'my-id']);
106106

107-
will return:
107+
will return::
108108

109109
<form action="/u/sign-up" method="post" accept-charset="utf-8">
110-
<input type="hidden" id="my-id" name="csrf_field" value="964ede6e0ae8a680f7b8eab69136717d" />
110+
<input type="hidden" id="my-id" name="csrf_field" value="964ede6e0ae8a680f7b8eab69136717d" />
111111

112112
**Adding Hidden Input Fields**
113113

0 commit comments

Comments
 (0)