Appzcoder\CrudGenerator\Commands\CrudViewCommand::templateFormVars PHP Method

templateFormVars() public method

Update values between %% with real values in form view.
public templateFormVars ( string $newFormFile ) : void
$newFormFile string
return void
    public function templateFormVars($newFormFile)
    {
        File::put($newFormFile, str_replace('%%formFieldsHtml%%', $this->formFieldsHtml, File::get($newFormFile)));
    }