Skip to content

Commit

Permalink
remove deatch code
Browse files Browse the repository at this point in the history
  • Loading branch information
vEnCa-X committed Dec 30, 2023
1 parent 9f1fd57 commit 0985676
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/BootstrapRendererV5.php
Expand Up @@ -195,7 +195,6 @@ public function renderPair(Nette\Forms\Control $control): string
$pair = $this->getWrapper('pair container');
} else {
$pair = $this->getWrapper('pair container');
//@TODO how to set many checkboxes on same line? problem...
}
}

Expand Down Expand Up @@ -342,12 +341,6 @@ public function renderControl(Nette\Forms\Control $control): Html
$ids = [];
$values = [];

if ($control->generateId) {
foreach ($items as $value => $label) {
$ids[$value] = $input->id . '-' . $value;
$values[$value] = $value;
}
}
$elControl = $control->getContainerPrototype()->setHtml(
Nette\Forms\Helpers::createInputList(
$control->translate($items),
Expand Down

0 comments on commit 0985676

Please sign in to comment.