DirectorDatafieldForm: add a friendly note
This commit is contained in:
parent
cbdaf34339
commit
c4c9980075
|
@ -9,6 +9,10 @@ class DirectorDatafieldForm extends DirectorObjectForm
|
||||||
{
|
{
|
||||||
public function setup()
|
public function setup()
|
||||||
{
|
{
|
||||||
|
$this->addHtmlHint(
|
||||||
|
$this->translate('Data fields allow you to customize input controls your custom variables.')
|
||||||
|
);
|
||||||
|
|
||||||
$this->addElement('text', 'varname', array(
|
$this->addElement('text', 'varname', array(
|
||||||
'label' => $this->translate('Field name'),
|
'label' => $this->translate('Field name'),
|
||||||
'description' => $this->translate('The unique name of the field'),
|
'description' => $this->translate('The unique name of the field'),
|
||||||
|
|
Loading…
Reference in New Issue