@extends('user.layout.master') @section('content')
{{ csrf_field() }}
ویرایش پروفایل
@include('share.forms.input',['name'=>'email','class'=>'dleft','title'=>'ایمیل','value'=>auth()->user()->email,'extraFields'=>'autocomplete="off" '.$disabled])
@include('share.forms.input',['name'=>'firstName','title'=>'نام','value'=>auth()->user()->firstName,'extraFields'=>'autocomplete="off" '.$disabled])
@include('share.forms.input',['name'=>'lastName','title'=>'نام خانوادگی','value'=>auth()->user()->lastName,'extraFields'=>'autocomplete="off" '.$disabled])
@include('share.forms.select',['name'=>'gender','title'=>'جنسیت','options'=>['male'=>'مرد','female'=>'زن'],'selected'=>auth()->user()->gender,'extraFields'=>'autocomplete="off" '.$disabled])
@include('share.forms.input',['name'=>'fatherName','id'=>'fatherName','title'=>'نام پدر','value'=>auth()->user()->fatherName,'extraFields'=>'autocomplete="off" '.$disabled])
موارد بیشتر @include('share.forms.error',['name'=>'city_id'])
موارد بیشتر @include('share.forms.error',['name'=>'city_id'])
موارد بیشتر @include('share.forms.error',['name'=>'skill_id'])
@include('share.forms.input',['name'=>'nationalCode','class'=>'dleft','title'=>'کد ملی', 'extraFields'=>'v-model="nationalCode" :class="{invalid:!validnationalCode}"','value'=>auth()->user()->nationalCode,'autocomplete="off" '.$disabled]) کد ملی صحیح نیست @include('share.forms.error',['name'=>'nationalCode'])
@include('share.forms.input',['name'=>'certificateCode','title'=>'شماره شناسنامه','value'=>auth()->user()->certificateCode,'extraFields'=>'autocomplete="off" '.$disabled])
@include('share.forms.date',['name'=>'birthday','title'=>'تاریخ تولد','value'=>auth()->user()->birthday,'disabled'=>false,'extraFields'=>'autocomplete="off" '.$disabled])
@include('share.forms.input',['name'=>'birthplace','title'=>'محل تولد','value'=>auth()->user()->birthplace,'extraFields'=>'autocomplete="off" '.$disabled])
@include('share.forms.input',['name'=>'mobile','class'=>'dleft','title'=>'موبایل','value'=>auth()->user()->mobile,'extraFields'=>'autocomplete="off" '.$disabled])
@include('share.forms.input',['name'=>'telephone','class'=>'dleft','title'=>'تلفن','value'=>auth()->user()->telephone,'extraFields'=>'autocomplete="off" '.$disabled])
@include('share.forms.input',['name'=>'address','id'=>'address','title'=>'آدرس','value'=>auth()->user()->address,'extraFields'=>'autocomplete="off" '.$disabled])
@include('share.forms.input',['name'=>'postalCode','class'=>'dleft','title'=>'کد پستی','value'=>auth()->user()->postalCode,'extraFields'=>'autocomplete="off" '.$disabled])
@include('share.forms.select',['name'=>'education','title'=>'آخرین مدرک تحصیلی','options'=>['1'=>'زیر دیپلم','2'=>'دیپلم','3'=>'کاردانی','4'=>'کارشناسی','5'=>'کارشناسی ارشد','6'=>'دکتری'],'selected'=>auth()->user()->education,'extraFields'=>'autocomplete="off"'.$disabled])
@include('share.forms.input',['name'=>'fieldOfStudy','title'=>'آخرین رشته و گرایش','extraFields'=>'autocomplete="off"'.$disabled,'value'=>auth()->user()->fieldOfStudy])
@if($disabled != 'disabled') @include('share.forms.file',['title'=>'عکس آخرین مدرک تحصیلی','name'=>'educationPicture','extraFields'=>'autocomplete="off" '.$disabled]) @endif @if(auth()->user()->educationPicture) @endif
@if($disabled != 'disabled') @include('share.forms.file',['title'=>'عکس پرسنلی','name'=>'personalPicture','extraFields'=>'autocomplete="off" '.$disabled]) @endif @if(auth()->user()->personalPicture) @endif
@if($disabled != 'disabled') @include('share.forms.file',['title'=>'کارت ملی','name'=>'nationalCardPicture','extraFields'=>'autocomplete="off" '.$disabled]) @endif @if(auth()->user()->nationalCardPicture) @endif
@endsection @push('scripts') @endpush @push('styles') @endpush