summaryrefslogtreecommitdiff
path: root/app/Template/group/index.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-11-16 14:39:18 -0800
committerFrederic Guillot <fred@kanboard.net>2017-11-16 14:39:18 -0800
commitbda7f38cebf6142379b820fdb3eab120f18c94dc (patch)
tree83a3e075e44f61a514b8db4ae77b9cbe3ff9b1c3 /app/Template/group/index.php
parentbea52c7578060f1cc0ee39f177a29188e78b144d (diff)
Add search in groups
Diffstat (limited to 'app/Template/group/index.php')
-rw-r--r--app/Template/group/index.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/Template/group/index.php b/app/Template/group/index.php
index f85eab8b..4834bdea 100644
--- a/app/Template/group/index.php
+++ b/app/Template/group/index.php
@@ -4,6 +4,15 @@
<li><?= $this->modal->medium('user-plus', t('New group'), 'GroupCreationController', 'show') ?></li>
</ul>
</div>
+
+<div class="margin-bottom">
+ <form method="get" action="<?= $this->url->dir() ?>" class="search">
+ <?= $this->form->hidden('controller', array('controller' => 'GroupListController')) ?>
+ <?= $this->form->hidden('action', array('action' => 'index')) ?>
+ <?= $this->form->text('search', $values, array(), array('placeholder="'.t('Search').'"')) ?>
+ </form>
+</div>
+
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('There is no group.') ?></p>
<?php else: ?>