Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialdorino canciani
2,265 PointsProblem with form
In Laravel 5 the form package is not included so i update the composer.json file and the app.php file. The problem is that the browser echo the html in the page and not the form..how can i solve that?
2 Answers
Joshua Efiong
758 PointsI believe you have to replace something like:
{{ Form::open( array('route' => 'todos.store') ) }}
with:
{!! Form::open( array('route' => 'todos.store') ) !!}
Otherwise, blade will escape the HTML and output the string equivalent.
dorino canciani
2,265 Pointsperfect!thank you!