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

What is the problem? I see your HTML is correct.

0

Use this new package:

"laravelcollective/html": "~5.0",

The in your views/templates use something like this:

{!! Form::model(
	$user,
	[
		'route' => ['admin.users.update', $user->id],
		'method' => 'PATCH',
		'class' => 'form'
	]
) !!}


<hr>

<div class="form-group">
	<input class="btn btn-success btn-block" type="submit" value="{{ trans('kotoba::button.save') }}">
</div>

{!! Form::close() !!}

Notice that the double and triple brackets have changed from L4.x

Where is that coming out in 1 big paragraph? In Sublime or within the view source of your browser?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

maneesaj maneesaj Joined 28 Feb 2015

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.