Support the ongoing development of Laravel.io →
Configuration Blade Forms
Last updated 2 years ago.
0

composer.json:

"require": {
    ...
    "illuminate/html"	: "~5.0",

app.php:

'providers' => [
    ...
    'Illuminate\Html\HtmlServiceProvider',
],

'aliases' => [
    ...
    'HTML'      => 'Illuminate\Html\HtmlFacade',
    'Form'      => 'Illuminate\Html\FormFacade',
],
0

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">
		&lt;input name=&quot;associationId&quot; type=&quot;text&quot;&gt;<br>
				</div>
</div>
<div class="form-group">	 			
	&lt;label for=&quot;name&quot; class=&quot;control-label col-lg-3&quot;&gt;Name:&lt;/label&gt;  
	<div class="col-lg-9">		
		&lt;input name=&quot;name&quot; type=&quot;text&quot; id=&quot;name&quot;&gt;
				</div>
 </div>

</form>

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.