diff options
Diffstat (limited to 'app/Template/group_modification/show.php')
-rw-r--r-- | app/Template/group_modification/show.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/Template/group_modification/show.php b/app/Template/group_modification/show.php new file mode 100644 index 00000000..ddf07369 --- /dev/null +++ b/app/Template/group_modification/show.php @@ -0,0 +1,18 @@ +<div class="page-header"> + <h2><?= t('Edit group') ?></h2> +</div> +<form class="popover-form" method="post" action="<?= $this->url->href('GroupModificationController', 'save') ?>" autocomplete="off"> + <?= $this->form->csrf() ?> + + <?= $this->form->hidden('id', $values) ?> + <?= $this->form->hidden('external_id', $values) ?> + + <?= $this->form->label(t('Name'), 'name') ?> + <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="100"')) ?> + + <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> +</form> |