{{ Form::label('first_name', __('messages.user.first_name').':', ['class' => 'form-label']) }} {{ Form::text('first_name', null, ['class' => 'form-control', 'required']) }}
{{ Form::label('last_name', __('messages.user.last_name').':', ['class' => 'form-label']) }} {{ Form::text('last_name', null, ['class' => 'form-control', 'required']) }}
{{ Form::label('department_name', __('messages.doctor_department.doctor_department').':', ['class' => 'form-label ']) }} {{ Form::select('doctor_department_id', $doctorsDepartments, $doctor->doctor_department_id, ['class' => 'form-select', 'id' => 'editDoctorsDepartmentId', 'placeholder' => 'Select Department', 'data-control' => 'select2','required']) }}
{{ Form::label('email', __('messages.user.email').':', ['class' => 'form-label']) }} {{ Form::email('email', null, ['class' => 'form-control', 'required','id'=>'editDoctorEmail']) }}
{{ Form::label('designation', __('messages.user.designation').':', ['class' => 'form-label']) }} {{ Form::text('designation', null, ['class' => 'form-control', 'required']) }}
{{ Form::label('phone', __('messages.user.phone').':', ['class' => 'form-label']) }}
{{ Form::tel('phone', isset($user->phone) ? $user->region_code.$user->phone : null , ['class' => 'form-control phoneNumber', 'id' => 'phoneNumber', 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")']) }} {{ Form::hidden('prefix_code',null,['class'=>'prefix_code']) }} {!! Form::hidden('country_iso', null, ['class' => 'country_iso']) !!} ✓   {{__('messages.valid')}}
{{ Form::label('qualification', __('messages.user.qualification').':', ['class' => 'form-label']) }} {{ Form::text('qualification', null, ['class' => 'form-control', 'required']) }}
{{ Form::label('dob', __('messages.user.dob').':', ['class' => 'form-label']) }} {{ Form::text('dob', null, ['class' => (getLoggedInUser()->thememode ? 'bg-light birthDate form-control' : 'bg-white birthDate form-control'),'id' => 'editDoctorBirthDate','autocomplete' => 'off']) }}
{{ Form::label('blood_group', __('messages.user.blood_group').':', ['class' => 'form-label']) }} {{ Form::select('blood_group', $bloodGroup, null, ['class' => 'form-select', 'id' => 'editDoctorBloodGroup', 'placeholder' => __('messages.user.select_blood_group'), 'data-control' => 'select2']) }}
{{ Form::label('gender', __('messages.user.gender').':', ['class' => 'form-label']) }}  
   {{ Form::radio('gender', '0', true, ['class' => 'form-check-input','id'=>'editDoctorMale']) }}   {{ Form::radio('gender', '1', false, ['class' => 'form-check-input','id'=>'editDoctorFemale']) }}
{{ Form::label('status', __('messages.common.status').':', ['class' => 'form-label']) }}
status)) ? 'checked' : ''}}>
{{ Form::label('specialist', __('messages.doctor.specialist').':', ['class' => 'form-label']) }} {{ Form::text('specialist', (isset($doctor) ? $doctor->specialist : ''), ['class' => 'form-control','required']) }}
{{ Form::label('image',__('messages.common.profile').(':'), ['class' => 'form-label']) }}
media[0]) ? $user->image_url : asset('assets/img/avatar.png') }}">

{{ __('messages.user.address_details') }}
{{ Form::label('address1', __('messages.user.address1').':', ['class' => 'form-label']) }} {{ Form::text('address1', isset($doctor->address->address1) ? $doctor->address->address1 : null, ['class' => 'form-control']) }}
{{ Form::label('address2', __('messages.user.address2').':', ['class' => 'form-label']) }} {{ Form::text('address2', isset($doctor->address->address2) ? $doctor->address->address2 : null, ['class' => 'form-control']) }}
{{ Form::label('city', __('messages.user.city').':', ['class' => 'form-label']) }} {{ Form::text('city', isset($doctor->address->city) ? $doctor->address->city : null, ['class' => 'form-control']) }}
{{ Form::label('zip', __('messages.user.zip').':', ['class' => 'form-label']) }} {{ Form::text('zip', isset($doctor->address->zip) ? $doctor->address->zip : null, ['class' => 'form-control', 'maxlength' => '6','minlength' => '6']) }}

{{ __('messages.setting.social_details') }}
{{ Form::label('facebook_url', __('messages.facebook_url').':', ['class' => 'form-label']) }} {{ Form::text('facebook_url', null, ['class' => 'form-control facebookUrl','id'=>'editDoctorFacebookUrl', 'onkeypress' => 'return avoidSpace(event);']) }}
{{ Form::label('twitter_url', __('messages.twitter_url').':', ['class' => 'form-label']) }} {{ Form::text('twitter_url', null, ['class' => 'form-control twitterUrl','id'=>'editDoctorTwitterUrl', 'onkeypress' => 'return avoidSpace(event);']) }}
{{ Form::label('instagram_url', __('messages.instagram_url').':', ['class' => 'form-label']) }} {{ Form::text('instagram_url', null, ['class' => 'form-control instagramUrl', 'id'=>'editDoctorInstagramUrl', 'onkeypress' => 'return avoidSpace(event);']) }}
{{ Form::label('linkedIn_url', __('messages.linkedIn_url').':', ['class' => 'form-label']) }} {{ Form::text('linkedIn_url', null, ['class' => 'form-control linkedInUrl','id'=>'editDoctorLinkedInUrl', 'onkeypress' => 'return avoidSpace(event);']) }}
{{ Form::submit(__('messages.common.save'), ['class' => 'btn btn-primary me-2']) }} {{ __('messages.common.cancel') }}