Commit d6d88dce authored by Carsten  Rose's avatar Carsten Rose
Browse files

Form.php: adjustments after renaming class FormBuildPlain to FormBuild

parent 45969cfe
......@@ -113,11 +113,8 @@ class Form {
switch ($this->formSpec['render']) {
case 'plain':
$build = new FormBuildPlain($this->formSpec, $this->feSpecAction, $this->feSpecNative);
break;
case 'table':
//TODO: implement bootstrap rendering: FormBuildBootstrap
// $build = new FormBuildBootstrap($this->formDef, $this->feDefAction, $this->feDefNative);
$build = new FormBuild($this->formSpec, $this->feSpecAction, $this->feSpecNative);
break;
case 'bootstrap':
//TODO: implement bootstrap rendering: FormBuildBootstrap
......@@ -129,9 +126,7 @@ class Form {
switch ($mode) {
case FORM_LOAD:
// $this->formActionBefore();
$html .= $build->process();
// $this->formActionAfter();
break;
case FORM_SAVE:
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment