Add chosen select for user selection

This commit is contained in:
Frederic Guillot
2015-05-21 14:13:45 -04:00
parent 5c604bf50f
commit 737c13dfdd
3 changed files with 12 additions and 5 deletions

View File

@@ -49,7 +49,7 @@
<?= $this->formHidden('project_id', array('project_id' => $project['id'])) ?>
<?= $this->formLabel(t('User'), 'user_id') ?>
<?= $this->formSelect('user_id', $users['not_allowed']) ?><br/>
<?= $this->formSelect('user_id', $users['not_allowed'], array(), array(), array('data-notfound="'.t('No results match:').'"'), 'chosen-select') ?><br/>
<div class="form-actions">
<input type="submit" value="<?= t('Allow this user') ?>" class="btn btn-blue"/>