summaryrefslogtreecommitdiff
path: root/app/Templates/file_new.php
blob: 643f340defa04ff3d7ebaba1edd8ece337f772a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<div class="page-header">
    <h2><?= t('Attach a document') ?></h2>
</div>

<form action="?controller=file&amp;action=save&amp;task_id=<?= $task['id'] ?>" method="post" enctype="multipart/form-data">
    <input type="file" name="files[]" multiple />
    <div class="form-help"><?= t('Maximum size: ') ?><?= is_integer($max_size) ? Helper\format_bytes($max_size) : $max_size ?></div>
    <div class="form-actions">
        <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
        <?= t('or') ?>
        <a href="?controller=task&amp;action=show&amp;task_id=<?= $task['id'] ?>"><?= t('cancel') ?></a>
    </div>
</form>