@extends('layouts.view') @section('title',trans('role.roleManagement')) @section('content')
@can('role-create') {{trans('role.newRole')}} @endcan

{{trans('role.roleManagement')}}

@if ($message = Session::get('success'))

{{ $message }}

@endif

{{trans('role.roleManagement')}}

@foreach ($roles as $key => $role) @endforeach
{{trans('lang.id')}} {{trans('role.name')}} {{trans('role.action')}}
{{ ++$i }} {{ $role->name }} {{trans('lang.show')}} @can('role-edit') {{trans('lang.edit')}} @endcan @can('role-delete')
@csrf @method('DELETE')
@endcan
{!! $roles->render() !!}
@endsection