IcingaZoneForm: allow to set object_type for now
This commit is contained in:
parent
6327066459
commit
28862ccb12
|
@ -8,7 +8,7 @@ class IcingaZoneForm extends DirectorObjectForm
|
||||||
{
|
{
|
||||||
public function setup()
|
public function setup()
|
||||||
{
|
{
|
||||||
$this->addHidden('object_type', 'object');
|
$this->addObjectTypeElement();
|
||||||
|
|
||||||
$this->addElement('text', 'object_name', array(
|
$this->addElement('text', 'object_name', array(
|
||||||
'label' => $this->translate('Zone (template) name'),
|
'label' => $this->translate('Zone (template) name'),
|
||||||
|
|
Loading…
Reference in New Issue