diff --git a/library/Director/Web/Form/DirectorObjectForm.php b/library/Director/Web/Form/DirectorObjectForm.php index a9aa6ffe..d485b5a6 100644 --- a/library/Director/Web/Form/DirectorObjectForm.php +++ b/library/Director/Web/Form/DirectorObjectForm.php @@ -848,6 +848,20 @@ abstract class DirectorObjectForm extends QuickForm return $this; } + protected function addDisabledElement() + { + $this->addBoolean( + 'disabled', + array( + 'label' => $this->translate('Disabled'), + 'description' => $this->translate('Disabled objects will not be deployes') + ), + 'n' + ); + + return $this; + } + protected function addCheckCommandElements() { $this->addElement('select', 'check_command_id', array(