CommandForm: move imports to top, add buttons

This commit is contained in:
Thomas Gelf 2015-11-06 09:12:19 +01:00
parent 2fb0e7c9c5
commit 7b04d82671
1 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,8 @@ class IcingaCommandForm extends DirectorObjectForm
'description' => $this->translate('Identifier for the Icinga command you are going to create')
));
$this->addImportsElement();
$this->addElement('text', 'command', array(
'label' => $this->translate('Command'),
'required' => true,
@ -42,6 +44,6 @@ class IcingaCommandForm extends DirectorObjectForm
'description' => $this->translate('Optional command timeout')
));
$this->addImportsElement();
$this->setButtons();
}
}