From 0e5d88ada643c9910ce82488e2d9b3777e70bb20 Mon Sep 17 00:00:00 2001 From: Hans Rakers Date: Fri, 4 Jan 2019 14:19:06 +0100 Subject: [PATCH] Add description field --- application/forms/IcingaCommandArgumentForm.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/forms/IcingaCommandArgumentForm.php b/application/forms/IcingaCommandArgumentForm.php index ff166fd0..7584c64c 100644 --- a/application/forms/IcingaCommandArgumentForm.php +++ b/application/forms/IcingaCommandArgumentForm.php @@ -27,6 +27,11 @@ class IcingaCommandArgumentForm extends DirectorObjectForm 'description' => $this->translate('e.g. -H or --hostname, empty means "skip_key"') )); + $this->addElement('text', 'description', array( + 'label' => $this->translate('Description'), + 'description' => $this->translate('Description of the argument') + )); + $this->addElement('select', 'argument_format', array( 'label' => $this->translate('Value type'), 'multiOptions' => array(