summaryrefslogtreecommitdiff
path: root/app/Template/category/create.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/category/create.php')
-rw-r--r--app/Template/category/create.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Template/category/create.php b/app/Template/category/create.php
index f065305a..32501b8d 100644
--- a/app/Template/category/create.php
+++ b/app/Template/category/create.php
@@ -7,5 +7,8 @@
<?= $this->form->label(t('Category Name'), 'name') ?>
<?= $this->form->text('name', $values, $errors, array('autofocus', 'required')) ?>
+ <?= $this->form->label(t('Color'), 'color_id') ?>
+ <?= $this->form->select('color_id', array('' => t('No color')) + $colors, $values, $errors, array(), 'color-picker') ?>
+
<?= $this->modal->submitButtons() ?>
</form>