$form
$form :
A class to store field, widget and data.
Used when rendering a form.
labelTag( $contents = null, $attrs = array()) : string
Returns the HTML of the label tag. Wraps the given contents in a <label>, if the field has an ID attribute. Does not HTML-escape the contents. If contents aren't given, uses the field's HTML-escaped label. If attrs are given, they're used as HTML attributes on the <label> tag.
$contents | ||
$attrs |
HTML of the label.