mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
ENHANCEMENT Allowing ModelAdmin to be rendered with different *_right.ss templates based on the class name
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92761 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c65800aa57
commit
722fc1defc
@ -880,7 +880,7 @@ class ModelAdmin_RecordController extends Controller {
|
||||
return $this->parentController->parentController->customise(array(
|
||||
'Right' => $this->parentController->parentController->customise(array(
|
||||
'EditForm' => $this->EditForm()
|
||||
))->renderWith('ModelAdmin_right')
|
||||
))->renderWith(array("{$this->class}_right",'LeftAndMain_right'))
|
||||
))->renderWith(array('ModelAdmin','LeftAndMain'));
|
||||
return ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user