Skip to content

Commit 66996a3

Browse files
author
Timm Ortloff
committed
ReportForm: Change addElement name
1 parent 74fdd46 commit 66996a3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

library/Reporting/Web/Forms/ReportForm.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use ipl\Html\Contract\FormSubmitElement;
1313
use ipl\Html\Form;
1414
use ipl\Html\FormElement\Collection;
15+
use ipl\Html\FormElement\FieldsetElement;
1516
use ipl\Web\Compat\CompatForm;
1617
use ipl\Web\FormDecorator\IcingaFormDecorator;
1718
use ipl\Web\Widget\Icon;
@@ -85,7 +86,7 @@ protected function assemble()
8586

8687
$collection = (new Collection('reportlet'))
8788
->setLabel('Reportlets')
88-
->setAddElement($this->createElement('select', 'reportlet', [
89+
->setAddElement($this->createElement('select', 'add_reportlet', [
8990
'required' => false,
9091
'label' => 'Reportlet',
9192
'options' => [null => 'Please choose'] + $this->listReports(),

0 commit comments

Comments
 (0)