diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-20 20:26:21 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-20 20:26:21 -0500 |
commit | 11b6381cc0f0583a11287202463d20a0ac1ebf00 (patch) | |
tree | c973b6686467272ae56914f5e143d09de476d084 /app/Template/file/new.php | |
parent | b84edaaf13ba854290099b0df452f61e9b595a17 (diff) |
Move and clean some templates to a subfolder
Diffstat (limited to 'app/Template/file/new.php')
-rw-r--r-- | app/Template/file/new.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/Template/file/new.php b/app/Template/file/new.php new file mode 100644 index 00000000..63c29f1d --- /dev/null +++ b/app/Template/file/new.php @@ -0,0 +1,14 @@ +<div class="page-header"> + <h2><?= t('Attach a document') ?></h2> +</div> + +<form action="<?= Helper\u('file', 'save', array('task_id' => $task['id'])) ?>" method="post" enctype="multipart/form-data"> + <?= Helper\form_csrf() ?> + <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') ?> + <?= Helper\a(t('cancel'), 'task', 'show', array('task_id' => $task['id'])) ?> + </div> +</form>
\ No newline at end of file |