working on add show screen, using subforms and jqueryUI tabs to separate adding show decisions.

This commit is contained in:
Naomi 2011-01-20 18:30:53 -05:00
parent dc2208d9ee
commit 42e2e0d407
11 changed files with 270 additions and 9 deletions

View file

@ -0,0 +1,26 @@
<?php
class Application_Form_AddShowWhat extends Zend_Form_SubForm
{
public function init()
{
// Add name element
$this->addElement('text', 'add_show_name', array(
'label' => 'Name:',
'required' => true,
'filters' => array('StringTrim'),
'validators' => array('NotEmpty')
));
// Add the description element
$this->addElement('textarea', 'add_show_description', array(
'label' => 'Description:',
'required' => false,
));
}
}