mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
14 lines
668 B
PHP
14 lines
668 B
PHP
|
<div class="page-header">
|
||
|
<h2><?= t('Attach a document') ?></h2>
|
||
|
</div>
|
||
|
|
||
|
<form action="?controller=file&action=save&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') ?>
|
||
|
<a href="?controller=task&action=show&task_id=<?= $task['id'] ?>"><?= t('cancel') ?></a>
|
||
|
</div>
|
||
|
</form>
|