add show form is broken up into tabs.

This commit is contained in:
Naomi 2011-01-21 13:25:12 -05:00
parent 42e2e0d407
commit c83244fb3a
8 changed files with 38 additions and 159 deletions

View file

@ -6,7 +6,7 @@ class Application_Form_AddShowWhen extends Zend_Form_SubForm
public function init()
{
// Add start date element
$this->addElement('text', 'start_date', array(
$this->addElement('text', 'add_show_start_date', array(
'label' => 'Date Start:',
'required' => true,
'filters' => array('StringTrim'),
@ -17,7 +17,7 @@ class Application_Form_AddShowWhen extends Zend_Form_SubForm
));
// Add start time element
$this->addElement('text', 'start_time', array(
$this->addElement('text', 'add_show_start_time', array(
'label' => 'Start Time:',
'required' => true,
'filters' => array('StringTrim'),
@ -28,7 +28,7 @@ class Application_Form_AddShowWhen extends Zend_Form_SubForm
));
// Add duration element
$this->addElement('text', 'duration', array(
$this->addElement('text', 'add_show_duration', array(
'label' => 'Duration:',
'required' => true,
'filters' => array('StringTrim'),
@ -39,7 +39,7 @@ class Application_Form_AddShowWhen extends Zend_Form_SubForm
));
// Add repeats element
$this->addElement('checkbox', 'repeats', array(
$this->addElement('checkbox', 'add_show_repeats', array(
'label' => 'repeats',
'required' => false,
));