diff options
| author | michael pereira | 2011-03-06 16:16:43 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-06 16:16:43 +0100 |
| commit | 38a1adce564a405684d3397b77a58bfc50d1d3e7 (patch) | |
| tree | 6e4fc0ba8b22c2911554155329d030bca9331428 /application/forms/BootosEdit.php | |
| parent | aufgeraeumt (diff) | |
| download | pbs2-38a1adce564a405684d3397b77a58bfc50d1d3e7.tar.gz pbs2-38a1adce564a405684d3397b77a58bfc50d1d3e7.tar.xz pbs2-38a1adce564a405684d3397b77a58bfc50d1d3e7.zip | |
Config fertig
Diffstat (limited to 'application/forms/BootosEdit.php')
| -rw-r--r-- | application/forms/BootosEdit.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/application/forms/BootosEdit.php b/application/forms/BootosEdit.php index 3bc522f..89edf79 100644 --- a/application/forms/BootosEdit.php +++ b/application/forms/BootosEdit.php @@ -17,6 +17,14 @@ class Application_Form_BootosEdit extends Zend_Form 'label' => 'Title:', )); + $this->addElement('text', 'title', array( + 'filters' => array('StringTrim'), + 'validators' => array( + array('StringLength', false, array(0, 50)), + ), + 'required' => true, + 'label' => 'Title:', + )); $this->addElement('text', 'configID', array( 'filters' => array('StringTrim'), |
