Fix form html id to differ per display type
[MAILPOET-2811]
This commit is contained in:
committed by
Veljko V
parent
0039dec079
commit
00f40b7ee4
@ -132,7 +132,7 @@ class DisplayFormInWPContent {
|
|||||||
'settings' => $form->getSettings(),
|
'settings' => $form->getSettings(),
|
||||||
];
|
];
|
||||||
$formSettings = $form->getSettings();
|
$formSettings = $form->getSettings();
|
||||||
$htmlId = 'mp_form_below_' . $form->getId();
|
$htmlId = 'mp_form_' . $displayType . $form->getId();
|
||||||
$templateData = [
|
$templateData = [
|
||||||
'form_html_id' => $htmlId,
|
'form_html_id' => $htmlId,
|
||||||
'form_id' => $form->getId(),
|
'form_id' => $form->getId(),
|
||||||
|
Reference in New Issue
Block a user