diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-11-16 14:53:05 -0800 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-11-16 14:53:05 -0800 |
commit | 2eeca3db3a32a536dc8eaf210329e07f3ae95554 (patch) | |
tree | e3311859e68b22b302a3aa435217532e26eaf804 /app/Template/project_list | |
parent | bda7f38cebf6142379b820fdb3eab120f18c94dc (diff) |
Add projects search
Diffstat (limited to 'app/Template/project_list')
-rw-r--r-- | app/Template/project_list/listing.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/Template/project_list/listing.php b/app/Template/project_list/listing.php index 6f6c93c1..8a76c8d2 100644 --- a/app/Template/project_list/listing.php +++ b/app/Template/project_list/listing.php @@ -21,6 +21,15 @@ <?= $this->hook->render('template:project-list:menu:after') ?> </ul> </div> + +<div class="margin-bottom"> + <form method="get" action="<?= $this->url->dir() ?>" class="search"> + <?= $this->form->hidden('controller', array('controller' => 'ProjectListController')) ?> + <?= $this->form->hidden('action', array('action' => 'show')) ?> + <?= $this->form->text('search', $values, array(), array('placeholder="'.t('Search').'"')) ?> + </form> +</div> + <?php if ($paginator->isEmpty()): ?> <p class="alert"><?= t('There is no project.') ?></p> <?php else: ?> |