diff --git a/application/forms/DirectorDatafieldForm.php b/application/forms/DirectorDatafieldForm.php new file mode 100644 index 00000000..f0888db6 --- /dev/null +++ b/application/forms/DirectorDatafieldForm.php @@ -0,0 +1,36 @@ +addElement('text', 'varname', array( + 'label' => $this->translate('Field name') + )); + + $this->addElement('text', 'caption', array( + 'label' => $this->translate('Caption') + )); + + $this->addElement('textarea', 'description', array( + 'label' => $this->translate('Description') + )); + + $this->addElement('text', 'datatype', array( + 'label' => $this->translate('Data type') + )); + + $this->addElement('text', 'datatype', array( + 'label' => $this->translate('Data type') + )); + + $this->addElement('text', 'format', array( + 'label' => $this->translate('Format'), + 'description' => $this->translate('Field format') + )); + } +}