Refactoring: added controlled middleware and changed response class
This commit is contained in:
12
app/Template/dashboard/show.php
Normal file
12
app/Template/dashboard/show.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="filter-box">
|
||||
<form method="get" action="<?= $this->url->dir() ?>" class="search">
|
||||
<?= $this->form->hidden('controller', array('controller' => 'search')) ?>
|
||||
<?= $this->form->hidden('action', array('action' => 'index')) ?>
|
||||
<?= $this->form->text('search', array(), array(), array('placeholder="'.t('Search').'"'), 'form-input-large') ?>
|
||||
<?= $this->render('app/filters_helper') ?>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?= $this->render('dashboard/projects', array('paginator' => $project_paginator, 'user' => $user)) ?>
|
||||
<?= $this->render('dashboard/tasks', array('paginator' => $task_paginator, 'user' => $user)) ?>
|
||||
<?= $this->render('dashboard/subtasks', array('paginator' => $subtask_paginator, 'user' => $user)) ?>
|
||||
Reference in New Issue
Block a user