{{ __('messages.live_consultation.edit_live_consultation') }}

{{ Form::open(['id'=>'editForm']) }}
{{ Form::hidden('live_consultation_id',null,['id'=>'liveConsultationId']) }}
{{ Form::label('consultation_title', __('messages.live_consultation.consultation_title').(':'), ['class' => 'form-label required']) }} {{ Form::text('consultation_title', null, ['class' => 'form-control edit-consultation-title','required']) }}
{{ Form::label('consultationDate', __('messages.live_consultation.consultation_date').(':'), ['class' => 'form-label required']) }} {{ Form::text('consultation_date', null, ['class' => 'form-control edit-consultation-date','required', 'autocomplete' => 'off']) }}
{{ Form::label('consultation_duration_minutes', __('messages.live_consultation.consultation_duration_minutes').(':'), ['class' => 'form-label required']) }} {{ Form::text('consultation_duration_minutes', '', ['class' => 'form-control edit-consultation-duration-minutes','onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")','required', 'min' => '0', 'max' => '720']) }}
{{ Form::label('patient_id', __('messages.web.patient_name').(':'), ['class' => 'form-label required']) }} {{ Form::select('patient_id', $patients, null, ['class' => 'form-select edit-patient-name', 'placeholder' => 'Select Patient Name', 'id' => 'editPatientName', 'required', 'data-control'=>'select2', 'data-dropdown-parent'=>'#editModal']) }}
{{ Form::label('doctor_id', __('messages.doctor.doctor').(' ').__('messages.common.name').(':'), ['class' => 'form-label required']) }} {{ Form::select('doctor_id', $doctors, null, ['class' => 'form-select edit-doctor-name', 'aria-label' => 'Select Doctor Name', 'required', 'id' => 'editDoctorName','data-control'=>'select2', 'data-dropdown-parent'=>'#editModal']) }}
{{ Form::label('host_video',__('messages.live_consultation.host_video').':', ['class' => 'form-label required']) }}
{{ Form::radio('host_video', \App\Models\LiveConsultation::HOST_ENABLE, false, ['class' => 'form-check-input host-enable']) }}      {{ Form::radio('host_video', \App\Models\LiveConsultation::HOST_DISABLED, true, ['class' => 'form-check-input host-disabled']) }}
{{ Form::label('participant_video',__('messages.live_consultation.client_video').':', ['class' => 'form-label required']) }}
{{ Form::radio('participant_video', \App\Models\LiveConsultation::CLIENT_ENABLE, false, ['class' => 'form-check-input client-enable']) }}      {{ Form::radio('participant_video', \App\Models\LiveConsultation::CLIENT_DISABLED, true, ['class' => 'form-check-input client-disabled']) }}
{{ Form::label('description', __('messages.appointment.description').(':'), ['class' => 'form-label']) }} {{ Form::textarea('description', '', ['class' => 'form-control edit-description', 'rows' => 3]) }}
{{ Form::button(__('messages.common.save'), ['type' => 'submit','class' => 'btn btn-primary m-0','id' => 'btnEditSave','data-loading-text' => " Processing..."]) }}
{{ Form::close() }}