CC-1916 playlist metadata page looks better.

This commit is contained in:
Naomi 2011-02-11 18:55:08 -05:00
parent f8d3a38b2e
commit 89267748d4
6 changed files with 107 additions and 39 deletions

View file

@ -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
));
}
}