summaryrefslogtreecommitdiff
path: root/app/Templates/project_export.php
blob: 946a68a87e0d9fe7658781204c3d899aab1faf63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<section id="main">
    <div class="page-header">
        <h2>
            <?= t('Tasks exportation for "%s"', $project['name']) ?>
        </h2>
        <ul>
            <li><a href="?controller=board&amp;action=show&amp;project_id=<?= $project['id'] ?>"><?= t('Back to the board') ?></a></li>
            <li><a href="?controller=project&amp;action=index"><?= t('List of projects') ?></a></li>
        </ul>
    </div>
    <section id="project-section">

    <form method="get" action="?" autocomplete="off">

        <?= Helper\form_hidden('controller', $values) ?>
        <?= Helper\form_hidden('action', $values) ?>
        <?= Helper\form_hidden('project_id', $values) ?>

        <?= Helper\form_label(t('Start Date'), 'from') ?>
        <?= Helper\form_text('from', $values, $errors, array('required', 'placeholder="'.t('month/day/year').'"'), 'form-date') ?><br/>

        <?= Helper\form_label(t('End Date'), 'to') ?>
        <?= Helper\form_text('to', $values, $errors, array('required', 'placeholder="'.t('month/day/year').'"'), 'form-date') ?>

        <div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div>

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

    </section>
</section>