mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 08:14:04 +02:00
IcingaEndpointForm: require zone for endpoints
This commit is contained in:
parent
92ba28294b
commit
1fca8a3014
@ -49,8 +49,9 @@ class IcingaEndpointForm extends DirectorObjectForm
|
|||||||
));
|
));
|
||||||
|
|
||||||
$this->addElement('select', 'zone_id', array(
|
$this->addElement('select', 'zone_id', array(
|
||||||
'label' => $this->translate('Cluster Zone'),
|
'label' => $this->translate('Cluster Zone'),
|
||||||
'description' => $this->translate('Check this host in this specific Icinga cluster zone')
|
'description' => $this->translate('Check this host in this specific Icinga cluster zone'),
|
||||||
|
'required' => true
|
||||||
));
|
));
|
||||||
|
|
||||||
$this->addElement('submit', $this->translate('Store'));
|
$this->addElement('submit', $this->translate('Store'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user