@extends( ($theme =="white") ? 'layouts.white_theme': ( ($theme =="red") ? 'layouts.red_theme': (($theme =="green") ? 'layouts.green_theme': (($theme =="black") ? 'layouts.black_theme': ( ($theme =="blue") ?'layouts.blue_theme': 'layouts.yellow_theme' )))) ) @section('content')

{{ __('Profile') }}

{{ __('Hi') }}, {{ $name }}!

{{ __('Change information about yourself on this page') }}.

@include('common.demo') @include('common.errors')
image
{{ $name }}
{{ __($role) }}
{{ $email }}
@if (Auth::check() && Auth::user()->role == 'staff')
{{ __('Departments:') }}
@foreach($departments as $department) @if (in_array($department->id, $selected_department))
- {{__($department->name)}}
@endif @endforeach @if (empty($selected_department))
- {{__('No departments')}}
@endif @endif
@csrf

{{ __('Edit Profile') }}

@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('old_password')
{{ $message }}
@enderror
@error('password')
{{ $message }}
@enderror
@error('c_password')
{{ $message }}
@enderror
@if (env('APP_ENV') != 'demo') @endif
@endsection