Change form input wrappers to form p to div

[MAILPOET-2609]
This commit is contained in:
Rostislav Wolny
2020-02-19 17:09:05 +01:00
committed by Pavel Dohnal
parent 28b750c9e2
commit d9d1f05119
15 changed files with 32 additions and 24 deletions

View File

@@ -19,7 +19,7 @@ class Text {
$automationId = 'data-automation-id="form_email" ';
}
$html = '<p class="mailpoet_paragraph">';
$html = '<div class="mailpoet_paragraph">';
$html .= $this->rendererHelper->renderLabel($block, $formSettings);
@@ -41,7 +41,7 @@ class Text {
$html .= '/>';
$html .= '</p>';
$html .= '</div>';
return $html;
}