kEpEx / laravel-crud-generator

php artisan command to generate fully working crud with grid paginated server side only by having database tables
MIT License
98 stars 44 forks source link

Undefined variable model in add.blade.php view #18

Closed Ch-Kashif171 closed 3 years ago

Ch-Kashif171 commented 5 years ago

I am facing an issue that when i clicked on add button for open the add form then error occurred that says Undefined variable model in add.blade.php view. I think there is need to set "isset" condition.

rayan-appzod commented 5 years ago

Hello just do this : php artisan vendor:publish then go to C:\xampp\htdocs\your_project\resources\templates you will find file view.add.tpl.php edit it and replace with this and you will get problem solved view.add.tpl.php.zip

DanielQuirogaDev commented 5 years ago

Thank you, quickest fix ever.

Ch-Kashif171 commented 3 years ago

Thank you.