summaryrefslogtreecommitdiff
path: root/app/Template/project_export.php
blob: 02eb389f87904bb550e29c3fe17f0f4e5df5e582 (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
<div class="page-header">
    <h2>
        <?= t('Tasks exportation for "%s"', $project['name']) ?>
    </h2>
</div>

<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="'.Helper\in_list($date_format, $date_formats).'"'), 'form-date') ?><br/>

    <?= Helper\form_label(t('End Date'), 'to') ?>
    <?= Helper\form_text('to', $values, $errors, array('required', 'placeholder="'.Helper\in_list($date_format, $date_formats).'"'), '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>