diff options
author | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-25 22:09:44 -0500 |
---|---|---|
committer | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-25 22:09:44 -0500 |
commit | 44b18060834b0afad7c875d32ea162c9f6e31621 (patch) | |
tree | f0e4f726fffc7a2c36f387083f6c9c7958386164 /templates/board_edit.php | |
parent | 44fc9c081fb7561b7b02115f9b2a6eb0349d2201 (diff) |
Add task limit for each column
Diffstat (limited to 'templates/board_edit.php')
-rw-r--r-- | templates/board_edit.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/board_edit.php b/templates/board_edit.php index 605773ae..800e1c1d 100644 --- a/templates/board_edit.php +++ b/templates/board_edit.php @@ -12,9 +12,10 @@ <?php $i = 0; ?> - <?php foreach ($columns as $column_id => $column_title): ?> - <?= Helper\form_label(t('Column %d', ++$i), 'title['.$column_id.']') ?> - <?= Helper\form_text('title['.$column_id.']', $values, $errors, array('required')) ?> + <?php foreach ($columns as $column): ?> + <?= Helper\form_label(t('Column %d', ++$i), 'title['.$column['id'].']') ?> + <?= Helper\form_text('title['.$column['id'].']', $values, $errors, array('required')) ?> + <?= Helper\form_number('task_limit['.$column['id'].']', $values, $errors, array('placeholder="'.t('limit').'"')) ?> <a href="?controller=board&action=confirm&project_id=<?= $project['id'] ?>&column_id=<?= $column_id ?>"><?= t('Remove') ?></a> <?php endforeach ?> |