blob: 32d2d4c902893815aa0e2f6ddaa9b93c48271c58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<form action="<?= $controller->link_for("admin/configuration/edit_{$range_type}_config", $range, compact('field')) ?>"
method="post" data-dialo="size=auto" class="default">
<?= CSRFProtection::tokenTag() ?>
<fieldset>
<legend>
<?= htmlReady($field) ?>
</legend>
<?= $this->render_partial('admin/configuration/type-edit.php', $config) ?>
<label>
<?= _('Beschreibung:') ?> (<em>description</em>)
<textarea name="description" readonly><?= htmlReady($config['description']) ?></textarea>
</label>
</fieldset>
<footer data-dialog-button>
<?= Studip\Button::createAccept(_('Speichern')) ?>
<?= Studip\LinkButton::createCancel(
_('Abbrechen'),
$controller->url_for("admin/configuration/{$range_type}_configuration", ['id' => $range->id])
) ?>
</footer>
</form>
|