basic profile edit page, not working yet
This commit is contained in:
@@ -14,6 +14,20 @@ class WidgetFactory
|
||||
$this->fieldCols = $fieldCols;
|
||||
}
|
||||
|
||||
public function header($hx, $text)
|
||||
{
|
||||
return "<div class=\"row\">".
|
||||
"<h$hx class=\"col-md-$this->fieldCols offset-md-$this->labelCols\">".e($text)."</h$hx>".
|
||||
"</div>";
|
||||
}
|
||||
|
||||
public function par($text)
|
||||
{
|
||||
return "<div class=\"row\">".
|
||||
"<p class=\"col-md-$this->fieldCols offset-md-$this->labelCols\">".e($text)."</o>".
|
||||
"</div>";
|
||||
}
|
||||
|
||||
private function baseWidget($view, $name, $label)
|
||||
{
|
||||
return (new Widget($view, $name, $label))->layout($this->labelCols, $this->fieldCols);
|
||||
|
||||
Reference in New Issue
Block a user