@extends('shared.admin') @section('content')

Roles

Edit Roles

@if (\Session::has('msg'))
  • {!! \Session::get('msg') !!}
@endif
@if(Auth::user()->role_id == 1)

Danh sách chức năng

@if($model->role_funcs != null && count($model->role_funcs) > 0) @for ($i = 0; $i < count($model->role_funcs); $i++) @php $m = $model->role_funcs[$i]; @endphp @endfor @endif
# Chức năng
{{ $i + 1 }} {{ $m->func->title }} $m->id]) }}")' rel="tooltip" title="xóa">
@endif
@endsection