mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-10-11 18:48:57 +02:00
Store messages in the current user session to be able to fetch messages from other controllers, so that the use can be redirected back to the index, instead of staying in the original action refs #5100
18 lines
444 B
PHTML
18 lines
444 B
PHTML
<h4>
|
|
<i class="icinga-icon-edit"></i>
|
|
Edit Backend "<?= $this->escape($this->name); ?>"
|
|
</h4>
|
|
|
|
<?php if (isset($this->messageBox)): ?>
|
|
<?= $this->messageBox->render() ?>
|
|
<?php endif ?>
|
|
|
|
<?php if ($this->form->getErrorMessages()): ?>
|
|
<div class="alert alert-danger">
|
|
<?php foreach ($this->form->getErrorMessages() as $error): ?>
|
|
<?= $this->escape($error); ?><br/>
|
|
<?php endforeach; ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<?= $this->form ?> |