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,27 @@
<?php
class Application_Form_AddShowStyle extends Zend_Form_SubForm
{
public function init()
{
// Add show background-color input
$this->addElement('text', 'show-background-color', array(
'label' => 'Background Colour:',
'required' => true,
'filters' => array('StringTrim'),
'validators' => array('NotEmpty')
));
// Add show color input
$this->addElement('text', 'show-color', array(
'label' => 'Text Colour',
'required' => true,
'filters' => array('StringTrim'),
'validators' => array('NotEmpty')
));
}
}