@extends('admin.layouts.container') @section('content')

{{ $head ?? '' }}

@if($user ?? '' && $user->id) @method('PUT') @endif @CSRF
{{-- ($user->email ?? null) ? "readonly" : "" --}}
@if($routeName == 'members')
@endif
{{--
--}} {{--@if(auth()->user()->role != 'sub_admin' && ($user->role ?? $request->role ?? 'sub_admin') == 'sub_admin')--}} @if(auth()->user()->role && in_array(auth()->user()->role, ['super_admin', 'admin']) && $routeName == 'users') @if( count($modules) >= 1 )
@foreach($modules as $key=> $row)
@endforeach
@endif @endif {{--Start image container--}} {{--
photo ?? "")}}"/>
Choose
--}} {{--End image container--}} @if($routeName == 'members')
@foreach($programs as $program)
@endforeach
@include('admin.partials._upload_photo', ['item_value'=>old('photo', $user->photo ?? ''), 'label_name'=>meta('photo', $lang) ?? __('users.photo'), 'input_name'=>'photo']) @endif
@foreach(['active', 'inactive'] as $status)
status ?? 'active') == $status ? 'checked' : '' }}>
@endforeach
@endsection @section('inner_js') {{-- --}} @endsection