We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a988aba commit 82c1db5Copy full SHA for 82c1db5
reference/forms/types/options/label_attr.rst.inc
@@ -18,5 +18,5 @@ as a key. This attributes can also be directly set inside the template:
18
echo $view['form']->label(
19
$form['name'],
20
'Your name',
21
- array('class' => 'CUSTOM_LABEL_CLASS')
+ array('label_attr' => array('class' => 'CUSTOM_LABEL_CLASS'))
22
);
0 commit comments