working on add show screen, using subforms and jqueryUI tabs to separate adding show decisions.
This commit is contained in:
parent
dc2208d9ee
commit
42e2e0d407
11 changed files with 270 additions and 9 deletions
27
application/forms/AddShowStyle.php
Normal file
27
application/forms/AddShowStyle.php
Normal 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')
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue