summaryrefslogtreecommitdiff
path: root/app/Template/project_new.php
blob: f3926a6598a3edb06704393464566bdb9fa45638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<section id="main">
    <div class="page-header">
        <ul>
            <li><i class="fa fa-folder fa-fw"></i><?= Helper\a(t('All projects'), 'project', 'index') ?></li>
        </ul>
    </div>
    <section>
    <form method="post" action="<?= Helper\u('project', 'save') ?>" autocomplete="off">

        <?= Helper\form_csrf() ?>
        <?= Helper\form_hidden('is_private', $values) ?>
        <?= Helper\form_label(t('Name'), 'name') ?>
        <?= Helper\form_text('name', $values, $errors, array('autofocus', 'required')) ?>

        <div class="form-actions">
            <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
            <?= t('or') ?> <?= Helper\a(t('cancel'), 'project', 'index') ?>
        </div>
    </form>
    </section>
</section>