Render form width on FE from settings

[MAILPOET-2811]
This commit is contained in:
Rostislav Wolny
2020-05-20 16:25:52 +02:00
committed by Veljko V
parent 32f5e09d7d
commit 9ebd96fb6a
8 changed files with 197 additions and 29 deletions

View File

@@ -138,7 +138,7 @@ class DisplayFormInWPContent {
'form_id' => $form->getId(),
'form_success_message' => $formSettings['success_message'] ?? null,
'form_type' => $displayType,
'styles' => $this->formRenderer->renderStyles($formData, '#' . $htmlId),
'styles' => $this->formRenderer->renderStyles($formData, '#' . $htmlId, $displayType),
'html' => $this->formRenderer->renderHTML($formData),
];