- when a custom field is updated, the matching form field is now also updated - ability to toggle "is_required" on First name & Last name - fixed position of validation errors on segment selection, checkbox and radio - fixed form subscription not working when using custom fields - fixed sortable in segment selection after list update (add/remove) - updated position of messages in form subscription
17 lines
292 B
PHP
17 lines
292 B
PHP
<?php
|
|
namespace MailPoet\Form\Block;
|
|
|
|
class Submit extends Base {
|
|
|
|
static function render($block) {
|
|
$html = '';
|
|
|
|
$html .= '<p class="mailpoet_submit"><input type="submit" ';
|
|
|
|
$html .= 'value="'.static::getFieldLabel($block).'" ';
|
|
|
|
$html .= '/></p>';
|
|
|
|
return $html;
|
|
}
|
|
} |