Skip to content

Commit 579a473

Browse files
authored
docs: Change HTML 'tag's to 'element's in helpers/form_helper.rst
Change HTML 'tag's to 'element's in helpers/form_helper.rst
1 parent 8c459cf commit 579a473

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

user_guide_src/source/helpers/form_helper.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ The following functions are available:
145145
146146
:param string $name: Field name
147147
:param string $value: Field value
148-
:returns: An HTML hidden input field tag
148+
:returns: An HTML hidden input element
149149
:rtype: string
150150

151151
Lets you generate hidden input fields. You can either submit a
@@ -171,7 +171,7 @@ The following functions are available:
171171
:param string $value: Field value
172172
:param mixed $extra: Extra attributes to be added to the tag either as an array or a literal string
173173
:param string $type: The type of input field. i.e., 'text', 'email', 'number', etc.
174-
:returns: An HTML text input field tag
174+
:returns: An HTML text input element
175175
:rtype: string
176176

177177
Lets you generate a standard text input field. You can minimally pass
@@ -206,7 +206,7 @@ The following functions are available:
206206
:param array $data: Field attributes data
207207
:param string $value: Field value
208208
:param mixed $extra: Extra attributes to be added to the tag either as an array or a literal string
209-
:returns: An HTML password input field tag
209+
:returns: An HTML password input element
210210
:rtype: string
211211

212212
This function is identical in all respects to the :php:func:`form_input()`
@@ -217,7 +217,7 @@ The following functions are available:
217217
:param array $data: Field attributes data
218218
:param string $value: Field value
219219
:param mixed $extra: Extra attributes to be added to the tag either as an array or a literal string
220-
:returns: An HTML file upload input field tag
220+
:returns: An HTML file upload input element
221221
:rtype: string
222222

223223
This function is identical in all respects to the :php:func:`form_input()`
@@ -229,7 +229,7 @@ The following functions are available:
229229
:param array $data: Field attributes data
230230
:param string $value: Field value
231231
:param mixed $extra: Extra attributes to be added to the tag either as an array or a literal string
232-
:returns: An HTML textarea tag
232+
:returns: An HTML textarea element
233233
:rtype: string
234234

235235
This function is identical in all respects to the :php:func:`form_input()`
@@ -244,7 +244,7 @@ The following functions are available:
244244
:param array $options: An associative array of options to be listed
245245
:param array $selected: List of fields to mark with the *selected* attribute
246246
:param mixed $extra: Extra attributes to be added to the tag either as an array or a literal string
247-
:returns: An HTML dropdown select field tag
247+
:returns: An HTML select (dropdown) element
248248
:rtype: string
249249

250250
Lets you create a standard drop-down field. The first parameter will
@@ -278,7 +278,7 @@ The following functions are available:
278278
:param array $options: An associative array of options to be listed
279279
:param array $selected: List of fields to mark with the *selected* attribute
280280
:param mixed $extra: Extra attributes to be added to the tag either as an array or a literal string
281-
:returns: An HTML dropdown multiselect field tag
281+
:returns: An HTML multiselect (dropdown) element
282282
:rtype: string
283283

284284
Lets you create a standard multiselect field. The first parameter will
@@ -326,7 +326,7 @@ The following functions are available:
326326
:param string $value: Field value
327327
:param bool $checked: Whether to mark the checkbox as being *checked*
328328
:param mixed $extra: Extra attributes to be added to the tag either as an array or a literal string
329-
:returns: An HTML checkbox input tag
329+
:returns: An HTML checkbox input element
330330
:rtype: string
331331

332332
Lets you generate a checkbox field. Simple example:
@@ -357,7 +357,7 @@ The following functions are available:
357357
:param string $value: Field value
358358
:param bool $checked: Whether to mark the radio button as being *checked*
359359
:param mixed $extra: Extra attributes to be added to the tag either as an array or a literal string
360-
:returns: An HTML radio input tag
360+
:returns: An HTML radio input element
361361
:rtype: string
362362

363363
This function is identical in all respects to the :php:func:`form_checkbox()`
@@ -368,7 +368,7 @@ The following functions are available:
368368
:param string $label_text: Text to put in the <label> tag
369369
:param string $id: ID of the form element that we're making a label for
370370
:param string $attributes: HTML attributes
371-
:returns: An HTML field label tag
371+
:returns: An HTML label element
372372
:rtype: string
373373

374374
Lets you generate a <label>. Simple example:
@@ -387,7 +387,7 @@ The following functions are available:
387387
:param string $data: Button name
388388
:param string $value: Button value
389389
:param mixed $extra: Extra attributes to be added to the tag either as an array or a literal string
390-
:returns: An HTML input submit tag
390+
:returns: An HTML input submit element
391391
:rtype: string
392392

393393
Lets you generate a standard submit button. Simple example:
@@ -403,7 +403,7 @@ The following functions are available:
403403
:param string $data: Button name
404404
:param string $value: Button value
405405
:param mixed $extra: Extra attributes to be added to the tag either as an array or a literal string
406-
:returns: An HTML input reset button tag
406+
:returns: An HTML input reset button element
407407
:rtype: string
408408

409409
Lets you generate a standard reset button. Use is identical to
@@ -414,7 +414,7 @@ The following functions are available:
414414
:param string $data: Button name
415415
:param string $content: Button label
416416
:param mixed $extra: Extra attributes to be added to the tag either as an array or a literal string
417-
:returns: An HTML button tag
417+
:returns: An HTML button element
418418
:rtype: string
419419

420420
Lets you generate a standard button element. You can minimally pass the

0 commit comments

Comments
 (0)