new table form html, css
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace App\View;
|
||||
|
||||
class WidgetFactory
|
||||
{
|
||||
public function text($name, $label)
|
||||
{
|
||||
return new Widget('input', $name, $label);
|
||||
}
|
||||
|
||||
public function number($name, $label)
|
||||
{
|
||||
return new Widget('number', $name, $label);
|
||||
}
|
||||
|
||||
public function email($name, $label)
|
||||
{
|
||||
return new Widget('email', $name, $label);
|
||||
}
|
||||
|
||||
public function textarea($name, $label)
|
||||
{
|
||||
return (new Widget('textarea', $name, $label))->minHeight('4em');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user