@extends('layouts.main') @section('content')
Roles - add abilities
BACK TO LIST
@php $sno=1; @endphp @if (!$abilities->first())
No ability set yet
@else
@csrf
{{ __('Role') }}
@error('role')
{{ $message }}
@enderror
{{ __('Description') }}
@error('description')
{{ $message }}
@enderror
@foreach ($abilities as $ability) @php $check=DB::table('ability_role')->where([['role_id',$role->id],['ability_id',$ability->id]])->first(); @endphp
{{ $ability->label }}
@endforeach
Save Changes
@endif
@endsection