@php $roles = getAllRoleForAssign(); $placeholder_info = getPlaceHolderImage(); $placeholder_image = $placeholder_info != null ? $placeholder_info->placeholder_image : ''; $socials = null; $bio = ''; $social_enable = false; if ($user->info) { $bio = $user->info->bio; if ($user->info->custom_social != 0) { $socials = json_decode($user->info->social); $social_enable = true; } } @endphp @extends('core::base.layouts.master') @section('title') {{ translate('Update User') }} @endsection @section('custom_css') {{-- Jqueey UI CSS --}} @endsection @section('main_content')

{{ translate('Update Profile') }}

@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

{{ translate('Not more than 200 characters') }}
{{ translate('Transalate to another language') }} {{ translate('click here') }}. @if ($errors->has('bio'))
{{ $errors->first('bio') }}
@endif
@if ($errors->has('old_password'))
{{ $errors->first('old_password') }}
@endif
@if ($errors->has('password'))
{{ $errors->first('password') }}
@endif
@if ($errors->has('password_confirmation'))
{{ $errors->first('password_confirmation') }}
@endif
{{ translate('Set the default social from theme option or make custom social.') }}
{{-- if Social is empty a default slide will be here --}} @if (isset($socials)) @foreach ($socials as $social)

@endforeach @else

@endif
@include('core::base.media.partial.media_modal')
@endsection @section('custom_scripts') {{-- Jqueey UI Js --}} {{-- Fontawesome iconpicker js --}} @endsection