aboutsummaryrefslogtreecommitdiff
path: root/app/views/start/edit_mail_address.php
blob: 00ff0b7320f1a3cacc07a08229f5a316a35316ce (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
<form method="post" class="default" action="<?=$controller->url_for('start/change_mail_address')?>" data-dialog="size=auto">
    <?= CSRFProtection::tokenTag()?>
    <fieldset>
        <legend>
            <?= _('E-Mail-Adresse ändern') ?>
        </legend>

        <label>
            <span class="required"><?= _('E-Mail') ?></span>
            <input required type="email" name="email1" id="email1"
                   value="<?= htmlReady($email) ?>"
                <? if ($restricted) echo 'disabled'; ?>>
        </label>
        <label>
            <span class="required"><?= _('E-Mail Wiederholung') ?></span>
            <input required type="email" name="email2" id="email2"
                   value=""
                   data-must-equal="#email1"
                <? if ($restricted) echo 'disabled'; ?>>
        </label>
    </fieldset>
    <footer data-dialog-button>
        <?= Studip\Button::createAccept(_('Speichern'))?>
    </footer>
</form>