mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
IcingaEndpointForm: use new helpers
This commit is contained in:
parent
44a9755cce
commit
043a8e07e5
@ -48,15 +48,7 @@ class IcingaEndpointForm extends DirectorObjectForm
|
||||
'description' => $this->translate('The log duration time.')
|
||||
));
|
||||
|
||||
$this->addElement('select', 'zone_id', array(
|
||||
'label' => $this->translate('Cluster Zone'),
|
||||
'description' => $this->translate('Check this host in this specific Icinga cluster zone'),
|
||||
'required' => true
|
||||
));
|
||||
|
||||
$this->addElement('text', 'imports', array(
|
||||
'label' => $this->translate('Imports'),
|
||||
'description' => $this->translate('The inherited endpoint template names')
|
||||
));
|
||||
$this->addZoneElement()
|
||||
->addImportsElement();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user