@extends('layouts.production') @section('addCss') @endsection @section('content')

{{ Trans("roles.roles")}} {{ Trans("dashboard.others.show_all")}}

@include('layouts.includes.message')
@if(UserRole::has('edit_role') || UserRole::has('delete_role')) @endif @foreach($roles as $role) @if(UserRole::has('edit_role') || UserRole::has('delete_role')) @endif @endforeach
# {{Trans("roles.role_name")}}{{Trans("dashboard.crud.actions")}}
{{ $role->id }} {{ $role->role_name }} @if(UserRole::has("edit_role")) id) }}" class="btn btn-xs btn-info">{{Trans("dashboard.crud.edit")}} @endif @if(UserRole::has("delete_role")) {{Trans("dashboard.crud.remove")}} @endif @include('layouts.includes.modals.danger', ['model' => $role,'toRoute'=>'roles','attribute'=>'role_name'])
@endsection @section('addJs') @endsection