CC-6066 - more work on add/remove content screen

This commit is contained in:
Duncan Sommerville 2015-08-24 12:05:57 -04:00
parent b15160d0fb
commit e6761b54da
7 changed files with 113 additions and 51 deletions

View file

@ -175,6 +175,16 @@ class ShowbuilderController extends Zend_Controller_Action
$this->view->start = $start_time;
$this->view->end = $end_time;
$form = new Application_Form_ShowBuilder();
$form->populate(array(
'sb_date_start' => $start->format("Y-m-d"),
'sb_time_start' => $start->format("H:i"),
'sb_date_end' => $end->format("Y-m-d"),
'sb_time_end' => $end->format("H:i")
));
$this->view->sb_form = $form;
$this->view->dialog = $this->view->render('showbuilder/builderDialog.phtml');
}