Remove an attribute we don't need anymore

[MAILPOET-1180]
This commit is contained in:
Pavel Dohnal
2017-11-21 12:54:00 +00:00
parent 883ae5b0e4
commit 29b249de6e

View File

@@ -41,7 +41,7 @@ class Renderer {
static function renderBlocks($blocks = array(), $honeypot_enabled = true) {
// add honeypot for spambots
$html = ($honeypot_enabled) ?
'<label class="mailpoet_hp_email_label">' . __('Please leave this field empty', 'mailpoet') . '<input autocomplete="not-really-email" type="email" name="data[email]"></label>' :
'<label class="mailpoet_hp_email_label">' . __('Please leave this field empty', 'mailpoet') . '<input type="email" name="data[email]"></label>' :
'';
foreach($blocks as $key => $block) {
$html .= static::renderBlock($block) . PHP_EOL;