@php $roles = getAllRoleForAssign(); $placeholder_info = getPlaceHolderImage(); $placeholder_image = $placeholder_info != null ? $placeholder_info->placeholder_image : ''; @endphp @extends('core::base.layouts.master') @section('title') {{ translate('Update User') }} @endsection @section('custom_css') @endsection @section('main_content')

{{ translate('Update User') }}

@csrf
@include('core::base.includes.media.media_input', [ 'input' => 'image', 'data' => $user->image, ]) @if ($errors->has('image'))
{{ $errors->first('image') }}
@endif
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if (!$user->hasRole('Super Admin'))
@if ($errors->has('role'))
{{ $errors->first('role') }}
@endif
@endif @if (!$user->hasRole('Super Admin'))
@endif
@include('core::base.media.partial.media_modal')
@endsection @section('custom_scripts') @endsection