aboutsummaryrefslogtreecommitdiff
path: root/templates/elearning/_my_account_form.php
blob: c1fbe069af6047bfe17b4d0b0b61110bb2e3fd3f (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
<form method="POST" action="<?= URLHelper::getLink() ?>#anker">
<?= CSRFProtection::tokenTag() ?>
<table class="default">
    <tbody>
        <tr>
            <td>
            <? if ($message): ?>
                <?= $message ?>
            <? else : ?>
                <strong><?= _('Loginname:') ?></strong>
                <?= htmlReady($login) ?>
            <? endif ?>
            </td>
            <td class="actions">
                <input type="hidden" name="new_account_step" value="1">
                <input type="hidden" name="new_account_cms" value="<?= htmlReady($my_account_cms) ?>">
            <? if ($is_connected) : ?>
                <?= Studip\Button::create(_('Bearbeiten'), 'change') ?>
            <? else : ?>
                <?= Studip\Button::create(_('Erstellen'), 'create') ?>
            <? endif?>
            </td>
        </tr>
    </tbody>
</table>
</form>