blob: d2c92502e0afdff20110c573a2dca7f45c99f3f3 (
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
|
<form class="default" action="<?= $controller->link_for('admin/loginstyle/add') ?>" method="post" enctype="multipart/form-data">
<fieldset>
<legend>
<?= _('Bild(er) hinzufügen') ?>
</legend>
<label>
<?= _('Bild(er) hochladen') ?>
<input type="file"
name="pictures[]"
style="display: none;"
accept="image/gif,image/jpeg,image/png"
required
multiple>
<?= Icon::create('upload')->asImg(['class' => 'text-bottom upload']) ?>
</label>
<label>
<input type="checkbox" name="desktop" value="1" checked>
<?= _('aktiv in Desktopansicht') ?>
</label>
<label>
<input type="checkbox" name="mobile" value="1" checked>
<?= _('aktiv in Mobilansicht') ?>
</label>
</fieldset>
<footer data-dialog-button>
<?= CSRFProtection::tokenTag() ?>
<?= Studip\Button::createAccept(_('Speichern'), 'store') ?>
<?= Studip\LinkButton::createCancel(_('Abbrechen'), $controller->url_for('loginstyle/index')) ?>
</footer>
</form>
|