@lang('View Sections')
@can('delete', App\Section::class) {{csrf_field()}}
@endcan
@lang('Advanced Search')
@can('delete', App\Section::class) @endcan @if((Auth::user()->can('update', App\Section::class)) || (Auth::user()->can('delete', App\Section::class))) @endif @if($sections) @foreach($sections as $section) @can('delete', App\Section::class) @endcan @if((Auth::user()->can('update', App\Section::class)) || (Auth::user()->can('delete', App\Section::class))) @endif @endforeach @endif
@lang('ID') @lang('Position') @lang('Status') @lang('Created')@lang('Action')
{{$section->id}} {{$section->position}} {{$section->is_active ? __('Active') : __('Inactive')}} {{$section->created_at}} @can('update', App\Section::class) @endcan   @can('delete', App\Section::class) @endcan