@extends('super_admins.layouts.master') @section('title') Edit User @endsection @section('css') @endsection @section('content') @if ($errors->any()) @foreach ($errors->all() as $error) {{-- {{ $error }} --}} @endforeach @endif

Edit User

{{--
--}}

View User

@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if (isset($user->profile_image_path)) Profile Image @else Profile Image @endif @if ($errors->has('profile_image_path')) {{ $errors->first('profile_image_path') }} @endif
@if ($errors->has('tenant_id')) {{ $errors->first('tenant_id') }} @endif
@if ($errors->has('role')) {{ $errors->first('role') }} @endif

@if($user->user_permissions) @foreach($user->user_permissions as $permission) {{ $permission->name }}
@endforeach @endif()
is_active) checked @endif class="custom-control-input" id="customSwitch1" aria-describedby="IsActiveError" aria-invalid="true" disabled>
{{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}}
{{-- --}}
@endsection @section('scripts') @endsection