CC-1916 playlist metadata page looks better.
This commit is contained in:
parent
f8d3a38b2e
commit
89267748d4
6 changed files with 107 additions and 39 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
class Application_Form_PlaylistMetadata extends Zend_Form
|
||||
class Application_Form_PlaylistMetadata extends Zend_Form_SubForm
|
||||
{
|
||||
|
||||
public function init()
|
||||
|
@ -8,6 +8,7 @@ class Application_Form_PlaylistMetadata extends Zend_Form
|
|||
// Add username element
|
||||
$this->addElement('text', 'title', array(
|
||||
'label' => 'Title:',
|
||||
'class' => 'input_text',
|
||||
'required' => false,
|
||||
'filters' => array('StringTrim'),
|
||||
'validators' => array(
|
||||
|
@ -18,10 +19,15 @@ class Application_Form_PlaylistMetadata extends Zend_Form
|
|||
// Add the comment element
|
||||
$this->addElement('textarea', 'description', array(
|
||||
'label' => 'Description:',
|
||||
'class' => 'input_text_area',
|
||||
'required' => false,
|
||||
));
|
||||
|
||||
// Add the comment element
|
||||
$this->addElement('button', 'new_playlist_submit', array(
|
||||
'label' => 'Submit',
|
||||
'ignore' => true
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue