summaryrefslogtreecommitdiff
path: root/app/Templates/file_new.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Templates/file_new.php')
-rw-r--r--app/Templates/file_new.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/Templates/file_new.php b/app/Templates/file_new.php
new file mode 100644
index 00000000..43223d0c
--- /dev/null
+++ b/app/Templates/file_new.php
@@ -0,0 +1,12 @@
+<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-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> \ No newline at end of file