@if($user->hasRole($role->id) true @endif
is missing a parenthesis. Why not just do this as the third parameter to the Form::checkbox() method:
$user->hasRole($role->id)
Yeah, my error when I pasted this in, you were right using the suggested change to the 3rd parameter did it. I need to read more up on this..
Thank you.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community