2014-07-20 12:26:15 +02:00
|
|
|
<div class="page-header">
|
|
|
|
<h2><?= t('Attach a document') ?></h2>
|
|
|
|
</div>
|
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<form action="<?= $this->u('file', 'save', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" method="post" enctype="multipart/form-data">
|
|
|
|
<?= $this->formCsrf() ?>
|
2014-07-20 12:26:15 +02:00
|
|
|
<input type="file" name="files[]" multiple />
|
2015-01-16 14:23:05 +01:00
|
|
|
<div class="form-help"><?= t('Maximum size: ') ?><?= is_integer($max_size) ? $this->formatBytes($max_size) : $max_size ?></div>
|
2014-07-20 12:26:15 +02:00
|
|
|
<div class="form-actions">
|
|
|
|
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
|
|
|
<?= t('or') ?>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
|
2014-07-20 12:26:15 +02:00
|
|
|
</div>
|
|
|
|
</form>
|