@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

{{--
--}}

Edit User

@csrf @method('PUT')
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif

@if (isset($user->profile_image_path)) Profile Image @else -No Image Selected @endif @if ($errors->has('profile_image_path')) {{ $errors->first('profile_image_path') }} @endif
@if(isset($roles))
@if ($errors->has('role')) {{ $errors->first('role') }} @endif
@endif
is_active) checked @endif class="custom-control-input" id="customSwitch1" aria-describedby="IsActiveError" aria-invalid="true">
{{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}}
{{-- --}}
@endsection @section('scripts') @endsection