diff options
Diffstat (limited to 'app/Template/group/associate.php')
-rw-r--r-- | app/Template/group/associate.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/Template/group/associate.php b/app/Template/group/associate.php index 24edd133..1840816d 100644 --- a/app/Template/group/associate.php +++ b/app/Template/group/associate.php @@ -4,7 +4,7 @@ <?php if (empty($users)): ?> <p class="alert"><?= t('There is no user available.') ?></p> <?php else: ?> - <form class="popover-form" method="post" action="<?= $this->url->href('GroupListController', 'addUser', array('group_id' => $group['id'])) ?>" autocomplete="off"> + <form method="post" action="<?= $this->url->href('GroupListController', 'addUser', array('group_id' => $group['id'])) ?>" autocomplete="off"> <?= $this->form->csrf() ?> <?= $this->form->hidden('group_id', $values) ?> @@ -15,10 +15,6 @@ 'defaultValue' => isset($values['user_id']) ? $values['user_id'] : null, )) ?> - <div class="form-actions"> - <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> - <?= t('or') ?> - <?= $this->url->link(t('cancel'), 'GroupListController', 'index', array(), false, 'close-popover') ?> - </div> + <?= $this->modal->submitButtons() ?> </form> <?php endif ?> |