color isn't required

This commit is contained in:
Naomi 2011-01-21 14:58:23 -05:00
parent 49cbee9db7
commit edc7c03824

View file

@ -8,17 +8,13 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm
// Add show background-color input
$this->addElement('text', 'add_show_background_color', array(
'label' => 'Background Colour:',
'required' => true,
'filters' => array('StringTrim'),
'validators' => array('NotEmpty')
'filters' => array('StringTrim')
));
// Add show color input
$this->addElement('text', 'add_show_color', array(
'label' => 'Text Colour',
'required' => true,
'filters' => array('StringTrim'),
'validators' => array('NotEmpty')
'filters' => array('StringTrim')
));
}