new add show html.

This commit is contained in:
Naomi 2011-02-09 18:10:46 -05:00
parent eab3675c74
commit d210a36358
9 changed files with 120 additions and 64 deletions

View file

@ -331,24 +331,10 @@ class ScheduleController extends Zend_Controller_Action
public function editShowAction()
{
$formWhat = new Application_Form_AddShowWhat();
$formWhat->removeDecorator('DtDdWrapper');
$formWho = new Application_Form_AddShowWho();
$formWho->removeDecorator('DtDdWrapper');
$formWhen = new Application_Form_AddShowWhen();
$formWhen->removeDecorator('DtDdWrapper');
$formRepeats = new Application_Form_AddShowRepeats();
$formRepeats->removeDecorator('DtDdWrapper');
$formStyle = new Application_Form_AddShowStyle();
$formStyle->removeDecorator('DtDdWrapper');
$showInstanceId = $this->_getParam('id');
$showInstance = new ShowInstance($showInstanceId);
$this->view->what = $formWhat;
//$this->view->when = $formWhen;
//$this->view->repeats = $formRepeats;
$this->view->who = $formWho;
$this->view->style = $formStyle;
$this->view->dialog = $this->view->render('schedule/edit-show.phtml');
$show = new Show($showInstance->getShowId());
}