aboutsummaryrefslogtreecommitdiff
path: root/app/views/materialien/files/add_files_to_range.php
blob: 358fb280799519fd3cdd315b97cf227baef02888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<form class="default" action="<?= $controller->action_link('add_files_to_range',$range_type, $range_id) ?>" method="post" data-dialog="">
    <label>
        <select id="search-file-select" class="nested-select"  multiple name="files[]">
        <? if ($files) : ?>
            <? foreach ($files as $file) : ?>
                <option value="<?= $file->id ?>" selected><?= htmlReady($file->getDisplayName()) ?></option>
            <? endforeach; ?>
        <? endif; ?>
        </select>
    </label>
    <?= CSRFProtection::tokenTag(); ?>
    <div data-dialog-button>
        <?= Studip\Button::createAccept(_('Speichern'), 'store') ?>
        <?= Studip\LinkButton::createCancel(); ?>
    </div>
</form>