From c4c9980075b415749a19d08367683e78e03ddfd3 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 31 Jul 2015 15:49:41 +0200 Subject: [PATCH] DirectorDatafieldForm: add a friendly note --- application/forms/DirectorDatafieldForm.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/forms/DirectorDatafieldForm.php b/application/forms/DirectorDatafieldForm.php index 57bbc170..50be4dab 100644 --- a/application/forms/DirectorDatafieldForm.php +++ b/application/forms/DirectorDatafieldForm.php @@ -9,6 +9,10 @@ class DirectorDatafieldForm extends DirectorObjectForm { public function setup() { + $this->addHtmlHint( + $this->translate('Data fields allow you to customize input controls your custom variables.') + ); + $this->addElement('text', 'varname', array( 'label' => $this->translate('Field name'), 'description' => $this->translate('The unique name of the field'),