@extends('layouts.backend.app') @section('title','Users') @section('content')
{{ __(($user->id ? 'Edit' : 'Create New') . ' User') }}
@csrf @if ($user->id) @method('PUT') @endif
User Info
{{----}}
It is able to access all website if leave it empty @error('site_scope') {{ $message }} @enderror
@if(!$user->hasRole(\App\Models\Role::ROLE_SUPER_ADMIN))
Select Role and Status
@foreach($roles as $key => $role) {{--@php $current = $user->id ? $user->getRoleNames()->implode(', ') : null; @endphp --}} @endforeach @endif @if($user->id) @else @endif
@endsection