summaryrefslogtreecommitdiff
path: root/app/Template/board/edit_column.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/board/edit_column.php')
-rw-r--r--app/Template/board/edit_column.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/Template/board/edit_column.php b/app/Template/board/edit_column.php
new file mode 100644
index 00000000..0d41bfbe
--- /dev/null
+++ b/app/Template/board/edit_column.php
@@ -0,0 +1,24 @@
+<div class="page-header">
+ <h2><?= t('Edit column "%s"', $column['title']) ?></h2>
+</div>
+
+<form method="post" action="<?= $this->u('board', 'updateColumn', array('project_id' => $project['id'], 'column_id' => $column['id'])) ?>" autocomplete="off">
+
+ <?= $this->formCsrf() ?>
+
+ <?= $this->formHidden('id', $values) ?>
+ <?= $this->formHidden('project_id', $values) ?>
+
+ <?= $this->formLabel(t('Title'), 'title') ?>
+ <?= $this->formText('title', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
+
+ <?= $this->formLabel(t('Task limit'), 'task_limit') ?>
+ <?= $this->formNumber('task_limit', $values, $errors) ?>
+
+ <?= $this->formLabel(t('Description'), 'description') ?>
+ <?= $this->formTextarea('description', $values, $errors) ?>
+
+ <div class="form-actions">
+ <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
+ </div>
+</form> \ No newline at end of file