IcingaEndpointForm: require zone for endpoints

This commit is contained in:
Thomas Gelf 2015-06-01 17:35:27 +02:00
parent 92ba28294b
commit 1fca8a3014

View File

@ -50,7 +50,8 @@ 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'));