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?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community