mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-18 10:41:46 +02:00
Update 06_Tabbed_Forms.md
Typo. Adding a field to a tab, not from. Thanks.
This commit is contained in:
parent
dca8e2ad52
commit
7c3ba9d4bf
|
@ -19,7 +19,7 @@ name, and normally they all exist under the `Root` [api:TabSet].
|
|||
display up to two levels of tabs in the interface. If you want to group data further than that, try [api:ToggleField].
|
||||
</div>
|
||||
|
||||
## Adding a field from a tab.
|
||||
## Adding a field to a tab
|
||||
|
||||
:::php
|
||||
$fields->addFieldToTab('Root.Main', new TextField(..));
|
||||
|
@ -52,4 +52,4 @@ display up to two levels of tabs in the interface. If you want to group data fur
|
|||
|
||||
## API Documentation
|
||||
|
||||
* [api:FormScaffolder]
|
||||
* [api:FormScaffolder]
|
||||
|
|
Loading…
Reference in New Issue
Block a user