|
@@ 57-59 (lines=3) @@
|
| 54 |
|
$colMap = null; |
| 55 |
|
} |
| 56 |
|
|
| 57 |
|
if ($form instanceOf ViewPartialProviderInterface) { |
| 58 |
|
return $this->getView()->partial($form->getViewPartial(), [ 'element' => $form, 'colMap' => $colMap, 'buttonsSpan' => $buttonsSpan ]); |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
$elements = $form->getElements(); |
| 62 |
|
$buttons = $form->getButtons(); |
|
@@ 79-81 (lines=3) @@
|
| 76 |
|
|
| 77 |
|
public function renderElements($fieldset, $buttonsFieldset, $colMap = null, $buttonsSpan = null) |
| 78 |
|
{ |
| 79 |
|
if ($fieldset instanceOf ViewPartialProviderInterface) { |
| 80 |
|
return $this->getView()->partial($fieldset->getViewPartial(), [ 'element' => $fieldset, 'colMap' => $colMap, 'buttonsSpan' => $buttonsSpan ]); |
| 81 |
|
} |
| 82 |
|
|
| 83 |
|
if (true !== $buttonsFieldset && null === $colMap) { |
| 84 |
|
$colMap = $fieldset->getColumnMap(); |