IcingaZoneForm: allow to set object_type for now

This commit is contained in:
Thomas Gelf 2016-03-15 16:07:04 +01:00
parent 6327066459
commit 28862ccb12
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class IcingaZoneForm extends DirectorObjectForm
{
public function setup()
{
$this->addHidden('object_type', 'object');
$this->addObjectTypeElement();
$this->addElement('text', 'object_name', array(
'label' => $this->translate('Zone (template) name'),