summaryrefslogtreecommitdiff
path: root/app/Template/config/project.php
blob: 1ab69e26458dee1ee71188b879e825ee05ff32d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div class="page-header">
    <h2><?= t('Project settings') ?></h2>
</div>
<section>
<form method="post" action="<?= $this->url->href('config', 'project') ?>" autocomplete="off">

    <?= $this->form->csrf() ?>

    <?= $this->form->label(t('Default columns for new projects (Comma-separated)'), 'board_columns') ?>
    <?= $this->form->text('board_columns', $values, $errors) ?><br/>
    <p class="form-help"><?= t('Default values are "%s"', $default_columns) ?></p>

    <?= $this->form->label(t('Default categories for new projects (Comma-separated)'), 'project_categories') ?>
    <?= $this->form->text('project_categories', $values, $errors) ?><br/>
    <p class="form-help"><?= t('Example: "Bug, Feature Request, Improvement"') ?></p>

    <?= $this->form->checkbox('subtask_restriction', t('Allow only one subtask in progress at the same time for a user'), 1, $values['subtask_restriction'] == 1) ?>

    <div class="form-actions">
        <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
    </div>
</form>
</section>