{{ __('messages.patient.add') }}

{{ Form::open(['id'=>'addPatientForm']) }}
{{ Form::label('first_name', __('messages.staff.first_name').':', ['class' => 'form-label']) }} {{ Form::text('first_name', null, ['class' => 'form-control', 'required', 'id' => 'patientFirstName','tabindex' => '1']) }}
{{ Form::label('last_name', __('messages.staff.last_name').':', ['class' => 'form-label']) }} {{ Form::text('last_name', null, ['class' => 'form-control', 'required', 'tabindex' => '2']) }}
{{ Form::label('email', __('messages.user.email').':', ['class' => 'form-label']) }} {{ Form::text('email', null, ['class' => 'form-control','required']) }}
{{ Form::label('phone', __('messages.web.phone').':', ['class' => 'form-label']) }}
{{ Form::tel('phone', null, ['class' => 'form-control phoneNumber', 'id' => 'phoneNumber', 'required', 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")', 'tabindex' => '5']) }} {{ Form::hidden('prefix_code',null,['class'=>'prefix_code']) }} ✓   {{__('messages.valid')}}
{{ Form::label('gender', __('messages.user.gender').':', ['class' => 'form-label']) }}  
   {{ Form::radio('gender', '0', true, ['class' => 'form-check-input', 'tabindex' => '6','id'=>'patientMale']) }}   {{ Form::radio('gender', '1', false, ['class' => 'form-check-input', 'tabindex' => '7','id'=>'patientFemale']) }}
{{ Form::label('status', __('messages.web.status').':', ['class' => 'form-label']) }}
{{ Form::label('password', __('auth.password').':', ['class' => 'form-label']) }} {{ Form::password('password', ['class' => 'form-control','required','min' => '6','max' => '10', 'tabindex' => '10']) }}
{{ Form::label('password_confirmation', __('auth.confirm_password').':', ['class' => 'form-label']) }} {{ Form::password('password_confirmation', ['class' => 'form-control','required','min' => '6','max' => '10', 'tabindex' => '11']) }}
{{ Form::button(__('messages.common.save'), ['type'=>'submit','class' => 'btn btn-primary m-0','id'=>'patientBtnSave','data-loading-text'=>" Processing..."]) }}
{{ Form::close() }}