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

@@ -23,7 +23,7 @@ class Checkbox {
$fieldName = 'data[' . $this->rendererHelper->getFieldName($block) . ']';
$fieldValidation = $this->rendererHelper->getInputValidation($block);
$html .= '<p class="mailpoet_paragraph">';
$html .= '<div class="mailpoet_paragraph">';
$html .= $this->rendererHelper->renderLabel($block, $formSettings);
@@ -60,7 +60,7 @@ class Checkbox {
$html .= '<span class="mailpoet_error_' . $block['id'] . '"></span>';
$html .= '</p>';
$html .= '</div>';
return $html;
}