17 lines
312 B
PHP
17 lines
312 B
PHP
|
<?php
|
||
|
|
||
|
namespace itguild\forms\form\templates\Simple;
|
||
|
|
||
|
use itguild\forms\form\templates\Template;
|
||
|
|
||
|
class SimpleTemplate extends Template
|
||
|
{
|
||
|
|
||
|
/**
|
||
|
* @return string
|
||
|
*/
|
||
|
public static function getInputTemplate(): string
|
||
|
{
|
||
|
return "<div class='form-group'>{label}<br>{input}</div>";
|
||
|
}
|
||
|
}
|