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…
Reference in New Issue