Files
piratepoet/lib/Form/Block/Submit.php
Jonathan Labreuille 541696863e Form editor
- new/edit in forms listing goes to editor
- fixed editor dependencies (via Webpack)
- updated forms table schema
- saving/loading a form works
2015-11-06 16:09:09 +01:00

17 lines
285 B
PHP

<?php
namespace MailPoet\Form\Block;
class Submit extends Base {
static function render($block) {
$html = '';
$html .= '<input class="mailpoet_submit" type="submit" ';
$html .= 'value="'.static::getFieldLabel($block).'" ';
$html .= '/>';
return $html;
}
}