some basic form work, need to lear more about custom form validation/rendering.
This commit is contained in:
parent
381cdc11a9
commit
10d9d13993
11 changed files with 791 additions and 619 deletions
|
@ -8,12 +8,14 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm
|
|||
// Add show background-color input
|
||||
$this->addElement('text', 'add_show_background_color', array(
|
||||
'label' => 'Background Colour:',
|
||||
'class' => 'input_text',
|
||||
'filters' => array('StringTrim')
|
||||
));
|
||||
|
||||
// Add show color input
|
||||
$this->addElement('text', 'add_show_color', array(
|
||||
'label' => 'Text Colour',
|
||||
'class' => 'input_text',
|
||||
'filters' => array('StringTrim')
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue