DirectorDatafieldForm: add a friendly note

This commit is contained in:
Thomas Gelf 2015-07-31 15:49:41 +02:00
parent cbdaf34339
commit c4c9980075
1 changed files with 4 additions and 0 deletions

View File

@ -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'),