Hi, Sangodada. This is quite easy actually but sometimes can be a little tricky for newbs like us.
In Laravel 5+ you need {!! element !!} for unscape html instead of {{ element }}.
The reason you see some examples using {{ element }} is because that is the correct way in laravel 4, and the default is unscaped. In laravel 5 the default is scaped {{ }} to prevent attacks.
{!! Form::open(array('url' => 'login')) !!}
{!! Form::label('email', 'Email:') !!}
{!! Form::close() !!}
More Info Laravel Documentation: Displaying Data
PD: Hope you'll understand english is not my native language.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community