composer.json:
"require": {
...
"illuminate/html" : "~5.0",
app.php:
'providers' => [
...
'Illuminate\Html\HtmlServiceProvider',
],
'aliases' => [
...
'HTML' => 'Illuminate\Html\HtmlFacade',
'Form' => 'Illuminate\Html\FormFacade',
],
Thanks, That got me past the problem with the Form not being found but when the View is rendered the html is encoded so that the page is shown as
Another View ! e<form method="POST" action="http://laravel5-demo/foo/bar" accept-charset="UTF-8"><input name="_token" type="hidden" value="vgh3GyU5BWLXDRdhBC7L864nkdQi2VTU1LR3Wcht"> <input name="associationId" type="text"> <label for="name" class="control-label col-lg-3">Name:</label> <input name="name" type="text" id="name">
</form>Doing a view source on page shows:
Another View !
<form method="POST" action="http://laravel5-demo/foo/bar" accept-charset="UTF-8"><input name="_token" type="hidden" value="vgh3GyU5BWLXDRdhBC7L864nkdQi2VTU1LR3Wcht">
<div class="col-lg-9">
<input name="associationId" type="text"><br>
</div>
</div>
<div class="form-group">
<label for="name" class="control-label col-lg-3">Name:</label>
<div class="col-lg-9">
<input name="name" type="text" id="name">
</div>
</div>
</form>
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community