Add category filter to set question selection
This commit is contained in:
@@ -12,11 +12,15 @@ class HtmlView extends BaseHtmlView
|
||||
{
|
||||
protected $form;
|
||||
protected $item;
|
||||
protected $questions;
|
||||
protected $categories;
|
||||
|
||||
public function display($tpl = null)
|
||||
{
|
||||
$this->form = $this->get('Form');
|
||||
$this->item = $this->get('Item');
|
||||
$this->questions = $this->get('Questions');
|
||||
$this->categories = $this->get('Categories');
|
||||
|
||||
if (count($errors = $this->get('Errors'))) {
|
||||
throw new \RuntimeException(implode("\n", $errors));
|
||||
|
||||
Reference in New Issue
Block a user