aboutsummaryrefslogtreecommitdiff
path: root/app/views/evaluation/profiles/preedit.php
blob: 38a2479e249258787f18a3aa488e1e1232990e36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
 * @var Evaluation_ProfilesController $controller
 */
?>

<form method="post">
    <?= CSRFProtection::tokenTag() ?>
    <h2>Leeres Profil anlegen</h2>
    <div>
        <div class="clickable">
            <button
                class="as-link"
                formaction="<?= $controller->link_for('/edit') ?>"
                data-dialog="size=default"
                style="vertical-align: center"
            >
                <?= Icon::create('add')->asSvg(50) ?>
                <p><?= _('Neu anlegen') ?></p>
            </button>
        </div>
</form>

<form method="post">
    <?= CSRFProtection::tokenTag() ?>
        <h2>Profildaten übernehmen</h2>
        <label>
            Aus Profil von Semester</br>
            <select name="sem_select">
                <?php foreach ($controller->semesters as $key => $semester) : ?>
                    <option value="<?= $key ?>"><?= $semester ?></option>
                <?php endforeach ?>
            </select>
        </label>
        </br>
        </br>
        <div class="clickable">
            <button
                class="as-link"
                formaction="<?= $controller->link_for('/edit') ?>"
                data-dialog="size=default"
            >
                <?= Icon::create('copy')->asSvg(50) ?>
                <p><?= _('Daten übernehmen') ?></p>
            </button>
        </div>
    </div>
</form>