Add label to text form

[MAILPOET-3331]
This commit is contained in:
Brezo Cordero
2022-05-31 15:18:04 +01:00
committed by Veljko V
parent 12d641505f
commit 6ad442a5dc
3 changed files with 30 additions and 9 deletions

View File

@@ -101,6 +101,9 @@ class BlocksRenderer {
public function renderBlock(array $block, array $formSettings, ?int $formId): string {
$html = '';
if ($formId) {
$formSettings['id'] = $formId;
}
switch ($block['type']) {
case FormEntity::HTML_BLOCK_TYPE:
$html .= $this->html->render($block, $formSettings);