@section('optional_css') @endsection @section('optional_js') @endsection {{ __('Role') }} @if(session('success')) {{ session('success') }} @endif {{ __('Permission') }} {{ __('Roles') }} {{ $role->name }} @csrf @method('PUT') {{ __('Select All') }} {{ __('Permission') }} @forelse($permissions as $permission) id, $role->permissions->pluck('id')->toArray()))?'checked':'' }} value="{{ $permission->name }}" id="permission-{{ str_replace(' ', '', $permission->name) }}"> {{ $permission->name }} @empty {{ __('Empty') }} @endforelse {{ __('Save') }}