diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-16 20:19:07 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-16 20:19:07 -0400 |
commit | abdf6f97800e7e838b5841820815385b183bab67 (patch) | |
tree | 75576da4a975561d0b93c7bcc7be94a385a4cd75 /app/Template/group_modification | |
parent | de8ce875f4295e0b3bef20fcca051401f96816ef (diff) |
Improve group controllers and views
Diffstat (limited to 'app/Template/group_modification')
-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> |