mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
FIX Remove unnecessary translation of parameterised field value
This commit is contained in:
parent
d9bef262a4
commit
8f363d6b60
@ -133,7 +133,7 @@ class UserDefinedForm extends Page
|
||||
// text to show on complete
|
||||
$onCompleteFieldSet = new CompositeField(
|
||||
$label = new LabelField('OnCompleteMessageLabel', _t('UserDefinedForm.ONCOMPLETELABEL', 'Show on completion')),
|
||||
$editor = new HtmlEditorField('OnCompleteMessage', '', _t('UserDefinedForm.ONCOMPLETEMESSAGE', $self->OnCompleteMessage))
|
||||
$editor = new HtmlEditorField('OnCompleteMessage', '', $self->OnCompleteMessage)
|
||||
);
|
||||
|
||||
$onCompleteFieldSet->addExtraClass('field');
|
||||
|
Loading…
Reference in New Issue
Block a user