IcingaCommandForm: a command field could make sense
This commit is contained in:
parent
8b11c07c65
commit
b80a7c3589
|
@ -31,6 +31,11 @@ class IcingaCommandForm extends DirectorObjectForm
|
||||||
'description' => $this->translate('Identifier for the Icinga command you are going to create')
|
'description' => $this->translate('Identifier for the Icinga command you are going to create')
|
||||||
));
|
));
|
||||||
|
|
||||||
|
$this->addElement('text', 'command', array(
|
||||||
|
'label' => $this->translate('Command'),
|
||||||
|
'required' => true,
|
||||||
|
));
|
||||||
|
|
||||||
$this->addElement('text', 'timeout', array(
|
$this->addElement('text', 'timeout', array(
|
||||||
'label' => $this->translate('Timeout'),
|
'label' => $this->translate('Timeout'),
|
||||||
'description' => $this->translate('Optional command timeout')
|
'description' => $this->translate('Optional command timeout')
|
||||||
|
|
Loading…
Reference in New Issue