summaryrefslogtreecommitdiff
path: root/app/Template/task_file/show.php
blob: df69605d9f65eb66b9da4c42312bfffd3e177495 (plain)
1
2
3
4
5
6
7
8
9
<section class="accordion-section <?= empty($files) && empty($images) ? 'accordion-collapsed' : '' ?>">
    <div class="accordion-title">
        <h3><a href="#" class="fa accordion-toggle"></a> <?= t('Attachments') ?></h3>
    </div>
    <div class="accordion-content">
        <?= $this->render('task_file/images', array('task' => $task, 'images' => $images)) ?>
        <?= $this->render('task_file/files', array('task' => $task, 'files' => $files)) ?>
    </div>
</section>