30 lines
1.1 KiB
PHTML
30 lines
1.1 KiB
PHTML
<?php
|
|
|
|
use Icinga\Web\Wizard;
|
|
|
|
?>
|
|
<p><?= sprintf(
|
|
$this->translate(
|
|
'You\'ve configured %1$s successfully. You can review the changes supposed to be made before setting it up.'
|
|
. ' Make sure that everything is correct (Feel free to navigate back to make any corrections!) so'
|
|
. ' that you can start using %1$s right after it has successfully been set up.'
|
|
),
|
|
$form->getSubjectTitle()
|
|
); ?></p>
|
|
<div class="summary">
|
|
<?php foreach ($form->getSummary() as $pageHtml): ?>
|
|
<?php if ($pageHtml): ?>
|
|
<div class="page">
|
|
<?= $pageHtml; ?>
|
|
</div>
|
|
<?php endif ?>
|
|
<?php endforeach ?>
|
|
</div>
|
|
<form id="<?= $form->getName(); ?>" name="<?= $form->getName(); ?>" enctype="<?= $form->getEncType(); ?>" method="<?= $form->getMethod(); ?>" action="<?= $form->getAction(); ?>" class="summary">
|
|
<?= $form->getElement($form->getTokenElementName()); ?>
|
|
<?= $form->getElement($form->getUidElementName()); ?>
|
|
<div class="buttons">
|
|
<?= $form->getElement(Wizard::BTN_PREV); ?>
|
|
<?= $form->getElement(Wizard::BTN_NEXT)->setAttrib('class', 'finish'); ?>
|
|
</div>
|
|
</form>
|