src/GridFieldRequestHandler.php
public function Form()
    {
        $form = new Form(
            $this,
            'SilverStripe\\Forms\\Form',
            new FieldList($root = new TabSet('Root', new Tab('Main'))),
            new FieldList()
        );

        if ($this->getTopLevelController() instanceof LeftAndMain) {
            $form->setTemplate('LeftAndMain_EditForm');
            $form->addExtraClass('cms-content cms-edit-form cms-tabset center');
            $form->setAttribute('data-pjax-fragment', 'CurrentForm Content');

            $root->setTemplate('CMSTabSet');
            $form->Backlink = $this->getBackLink();
        }

        return $form;
    }
public function Form()
    {
        $form = new Form(
            $this,
            'SilverStripe\\Forms\\Form',
            new FieldList($root = new TabSet('Root', new Tab('Main'))),
            new FieldList()
        );

        if ($this->getTopLevelController() instanceof LeftAndMain) {
            $form->setTemplate('LeftAndMain_EditForm');
            $form->addExtraClass('cms-content cms-edit-form cms-tabset center');
            $form->setAttribute('data-pjax-fragment', 'CurrentForm Content');

            $root->setTemplate('CMSTabSet');
            $form->Backlink = $this->getBackLink();
        }

        return $form;
    }
public function Form ( ) { $ form = new Form ( $ this , 'SilverStripe\\Forms\\Form' , new FieldList ( $ root = new TabSet ( 'Root' , new Tab ( 'Main' ) ) ) , new FieldList ( ) ) ; if ( $ this -> getTopLevelController ( ) instanceof LeftAndMain ) { $ form -> setTemplate ( 'LeftAndMain_EditForm' ) ; $ form -> addExtraClass ( 'cms-content cms-edit-form cms-tabset center' ) ; $ form -> setAttribute ( 'data-pjax-fragment' , 'CurrentForm Content' ) ; $ root -> setTemplate ( 'CMSTabSet' ) ; $ form -> Backlink = $ this -> getBackLink ( ) ; } return $ form ; }
This method should be overloaded to build out the detail form.

@return Form
This method should be overloaded to build out the detail form .