Disable the 'Submitted by' dropdown in form submissions view

This commit is contained in:
David Craig 2014-11-24 11:18:16 +13:00 committed by Ingo Schommer
parent 96fb8edd66
commit 99ac1a3e20

View File

@ -52,6 +52,7 @@ class SubmittedForm extends DataObject {
public function getCMSFields() {
$fields = parent::getCMSFields();
$fields->removeByName('Values');
$fields->dataFieldByName('SubmittedByID')->setDisabled(true);
$values = new GridField(
"Values",