just use html man.. personally i don't like using blade. it's an extra overhead to the server and you need to learn another syntax/language to reduce just a few characters in the code.
It looks like Html
alias is assigned to FormBuilder
instead of HtmlBuilder
. To check that run this command in php artisan tinker
:
Html::image();
It should yield an error like this:
PHP warning: Missing argument 1 for Illuminate\Html\HtmlBuilder::image()...
If it's FormBuilder
instead of HtmlBuilder
in the error message, check that you have correct alias in config/app.php
.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community