color isn't required
This commit is contained in:
parent
49cbee9db7
commit
edc7c03824
1 changed files with 2 additions and 6 deletions
|
@ -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')
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue