mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Update UserDefinedForm.php
Changed two typos: UserDefinedform must be UserDefinedForm
This commit is contained in:
parent
5935b1c0bb
commit
caec25101d
@ -83,7 +83,7 @@ class UserDefinedForm extends Page {
|
|||||||
// who do we email on submission
|
// who do we email on submission
|
||||||
$emailRecipients = new GridField("EmailRecipients", _t('UserDefinedForm.EMAILRECIPIENTS', 'Email Recipients'), $this->EmailRecipients(), GridFieldConfig_RecordEditor::create(10));
|
$emailRecipients = new GridField("EmailRecipients", _t('UserDefinedForm.EMAILRECIPIENTS', 'Email Recipients'), $this->EmailRecipients(), GridFieldConfig_RecordEditor::create(10));
|
||||||
$emailRecipients->getConfig()->getComponentByType('GridFieldAddNewButton')->setButtonName(
|
$emailRecipients->getConfig()->getComponentByType('GridFieldAddNewButton')->setButtonName(
|
||||||
_t('UserDefinedform.ADDEMAILRECIPIENT', 'Add Email Recipient')
|
_t('UserDefinedForm.ADDEMAILRECIPIENT', 'Add Email Recipient')
|
||||||
);
|
);
|
||||||
|
|
||||||
$fields->addFieldsToTab("Root.FormOptions", $onCompleteFieldSet);
|
$fields->addFieldsToTab("Root.FormOptions", $onCompleteFieldSet);
|
||||||
@ -94,7 +94,7 @@ class UserDefinedForm extends Page {
|
|||||||
// view the submissions
|
// view the submissions
|
||||||
$submissions = new GridField(
|
$submissions = new GridField(
|
||||||
"Reports",
|
"Reports",
|
||||||
_t('UserDefinedform.SUBMISSIONS', 'Submissions'),
|
_t('UserDefinedForm.SUBMISSIONS', 'Submissions'),
|
||||||
$this->Submissions()->sort('Created', 'DESC')
|
$this->Submissions()->sort('Created', 'DESC')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user