Files
piratepoet/lib/Form/Block/Submit.php
Pavel Dohnal 5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00

26 lines
612 B
PHP

<?php
namespace MailPoet\Form\Block;
if (!defined('ABSPATH')) exit;
class Submit extends Base {
static function render($block) {
$html = '';
$html .= '<p class="mailpoet_paragraph"><input type="submit" class="mailpoet_submit" ';
$html .= 'value="' . static::getFieldLabel($block) . '" ';
$html .= 'data-automation-id="subscribe-submit-button" ';
$html .= '/>';
$html .= '<span class="mailpoet_form_loading"><span class="mailpoet_bounce1"></span><span class="mailpoet_bounce2"></span><span class="mailpoet_bounce3"></span></span>';
$html .= '</p>';
return $html;
}
}