@extends('BackEnd.Layouts.main') @section('title') {{ __('messages.Edit User') }} @endsection @section('content')
@include('BackEnd.Layouts.breadcrumb') @if(session('success'))
{{session("success")}}
@endif @if(session('error'))
{{ session('error') }}
@endif
@include('BackEnd.Layouts.tableheader')
@csrf
@if ($errors->has('name')) @endif
@if ($errors->has('email')) @endif
@if ($errors->has('password')) @endif
@if ($errors->has('user_role')) @endif
مدير النظام
الأخبار @foreach ($roles as $role) @if($role->id==3)
@foreach ($role->permissions as $permission) @endforeach
@endif @endforeach
المقالات @foreach ($roles as $role) @if($role->id==2)
@endif @endforeach
أخرى @foreach($roles as $role) @if($role->id>3)
@endif @endforeach
@endsection @push('plugin_js') @endpush @push('custom_js') @endpush