diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-11-25 22:06:39 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-11-25 22:06:39 -0500 |
commit | e582d4047b061f0c17e6366fed2bf1cabd624c10 (patch) | |
tree | 4f400b1df198103fb257d468b1aab8c625f32d29 /app/Template/group/create.php | |
parent | a8da794b60029c23424ee330e020d18f5f9ac947 (diff) |
Add groups (teams)
Diffstat (limited to 'app/Template/group/create.php')
-rw-r--r-- | app/Template/group/create.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/Template/group/create.php b/app/Template/group/create.php new file mode 100644 index 00000000..696e5013 --- /dev/null +++ b/app/Template/group/create.php @@ -0,0 +1,19 @@ +<section id="main"> + <div class="page-header"> + <ul> + <li><i class="fa fa-users fa-fw"></i><?= $this->url->link(t('View all groups'), 'group', 'index') ?></li> + </ul> + </div> + <form method="post" action="<?= $this->url->href('group', 'save') ?>" autocomplete="off"> + <?= $this->form->csrf() ?> + + <?= $this->form->label(t('Name'), 'name') ?> + <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="100"')) ?><br/> + + <div class="form-actions"> + <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <?= t('or') ?> + <?= $this->url->link(t('cancel'), 'group', 'index') ?> + </div> + </form> +</section> |