public function DetailForm() {
		$form = Form::create(
			$this,
			"DetailForm",
			Injector::inst()->get($this->editor->relationClass)->getConfiguration(),
			FieldList::create(
				FormAction::create('saveDetail',_t('Dashboard.SAVE','Save'))
					->setUseButtonTag(true)
					->addExtraClass('ss-ui-action-constructive small'),
				FormAction::create('cancel',_t('Dashboard.CANCEL','Cancel'))
					->setUseButtonTag(true)
					->addExtraClass('small')
			)		
		);
		$form->setHTMLID("Form_DetailForm_".$this->panel->ID."_".$this->item->ID);
		$form->loadDataFrom($this->item);
		$form->addExtraClass('dashboard-has-many-editor-detail-form-form');
		return $form;
	}
public function DetailForm() {
		$form = Form::create(
			$this,
			"DetailForm",
			Injector::inst()->get($this->editor->relationClass)->getConfiguration(),
			FieldList::create(
				FormAction::create('saveDetail',_t('Dashboard.SAVE','Save'))
					->setUseButtonTag(true)
					->addExtraClass('ss-ui-action-constructive small'),
				FormAction::create('cancel',_t('Dashboard.CANCEL','Cancel'))
					->setUseButtonTag(true)
					->addExtraClass('small')
			)		
		);
		$form->setHTMLID("Form_DetailForm_".$this->panel->ID."_".$this->item->ID);
		$form->loadDataFrom($this->item);
		$form->addExtraClass('dashboard-has-many-editor-detail-form-form');
		return $form;
	}
public function DetailForm ( ) { $ form = Form :: create ( $ this , "DetailForm" , Injector :: inst ( ) -> get ( $ this -> editor -> relationClass ) -> getConfiguration ( ) , FieldList :: create ( FormAction :: create ( 'saveDetail' , _t ( 'Dashboard.SAVE' , 'Save' ) ) -> setUseButtonTag ( true ) -> addExtraClass ( 'ss-ui-action-constructive small' ) , FormAction :: create ( 'cancel' , _t ( 'Dashboard.CANCEL' , 'Cancel' ) ) -> setUseButtonTag ( true ) -> addExtraClass ( 'small' ) ) ) ; $ form -> setHTMLID ( "Form_DetailForm_" . $ this -> panel -> ID . "_" . $ this -> item -> ID ) ; $ form -> loadDataFrom ( $ this -> item ) ; $ form -> addExtraClass ( 'dashboard-has-many-editor-detail-form-form' ) ; return $ form ; }
Provides a form to edit or create an object managed by the editor

@return Form
Provides a form to edit or create an object managed by the editor