Merge pull request #2439 from bhongong/patch-1

Fix "cms-description-tooltip" reference in documentation example.
This commit is contained in:
Will Rossiter 2013-09-20 15:44:37 -07:00
commit 89cee10e0c

View File

@ -19,7 +19,7 @@ add a `.cms-description-tooltip` class.
:::php
TextField::create('MyText', 'My Text Label')
->setDescription('More <strong>detailed</strong> help')
->addExtraClass('cms-help-tooltip');
->addExtraClass('cms-description-tooltip');
Tooltips are only supported
for native, focusable input elements, which excludes
@ -27,4 +27,4 @@ more complex fields like `GridField`, `UploadField`
or `DropdownField` with the chosen.js behaviour applied.
Note: For more advanced help text we recommend using
[Custom form field templates](/topics/forms#custom-form-field-templates);
[Custom form field templates](/topics/forms#custom-form-field-templates);