diff --git a/modules/setup/application/views/scripts/form/setup-modules.phtml b/modules/setup/application/views/scripts/form/setup-modules.phtml index 859acfaa2..108218441 100644 --- a/modules/setup/application/views/scripts/form/setup-modules.phtml +++ b/modules/setup/application/views/scripts/form/setup-modules.phtml @@ -24,9 +24,5 @@ use Icinga\Web\Wizard; = $form->getElement($form->getTokenElementName()); ?> = $form->getElement($form->getUidElementName()); ?> -
+ = $form->getDisplayGroup('buttons'); ?> diff --git a/modules/setup/application/views/scripts/form/setup-requirements.phtml b/modules/setup/application/views/scripts/form/setup-requirements.phtml index 3ddd5b404..4ded84deb 100644 --- a/modules/setup/application/views/scripts/form/setup-requirements.phtml +++ b/modules/setup/application/views/scripts/form/setup-requirements.phtml @@ -2,6 +2,10 @@ use Icinga\Web\Wizard; +if (! $form->getWizard()->getRequirements()->fulfilled()) { + $form->getElement(Wizard::BTN_NEXT)->setAttrib('disabled', 1); +} + ?>