@extends('layouts.masterLayout.app') @section('content')

Edit Player information

@csrf @method('PUT')

adult == 'true' ? 'checked' : '' }} type="radio" onchange="showdiv()">Yes
adult == 'false' ? 'checked' : '' }} type="radio" onchange="hidediv()">No
@if ($errors->has('first_name'))
{{ $errors->first('first_name') }}
@endif
@if ($errors->has('middle_name'))
{{ $errors->first('middle_name') }}
@endif
@if ($errors->has('family_name'))
{{ $errors->first('family_name') }}
@endif
@if ($errors->has('nick_name'))
{{ $errors->first('nick_name') }}
@endif
@if ($errors->has('dob'))
{{ $errors->first('dob') }}
@endif
@if ($errors->has('id_number'))
{{ $errors->first('id_number') }}
@endif
@if ($errors->has('nationalaties'))
{{ $errors->first('nationalaties') }}
@endif
@if ($errors->has('national_address'))
{{ $errors->first('national_address') }}
@endif
@if ($errors->has('city'))
{{ $errors->first('city') }}
@endif
@if ($player->adult == 'false') @else
@if ($errors->has('phone'))
{{ $errors->first('phone') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@endif
@if ($errors->has('sport_id'))
{{ $errors->first('sport_id') }}
@endif
{{--
@if ($errors->has('password'))
{{ $errors->first('password') }}
@endif
--}}
@if ($errors->has('profile_image'))
{{ $errors->first('profile_image') }}
@endif

aprove_on_medical_treatment == 'true' ? 'checked' : '' }} type="radio">Yes
aprove_on_medical__treatment == 'false' ? 'checked' : '' }} type="radio">No
@if ($player->adult == 'false')

Young Player Information

@if ($errors->has('disability_type'))
{{ $errors->first('disability_type') }}
@endif
@if ($errors->has('Linguistic_needs'))
{{ $errors->first('Linguistic_needs') }}
@endif
@if ($errors->has('Medical_status'))
{{ $errors->first('Medical_status') }}
@endif
@if ($errors->has('educational_status'))
{{ $errors->first('educational_status') }}
@endif

mently_disable == 'true' ? 'checked' : '' }} type="radio">yes
mently_disable == 'false' ? 'checked' : '' }} type="radio">no

chair == 'true' ? 'checked' : '' }}>yes
chair == 'false' ? 'checked' : '' }}>no
@if ($errors->has('chair'))
{{ $errors->first('chair') }}
@endif

tshirt_size == 'Small' ? 'checked' : '' }}>S tshirt_size == 'Mediam' ? 'checked' : '' }}>M tshirt_size == 'Large' ? 'checked' : '' }}>L tshirt_size == 'Extra Large' ? 'checked' : '' }}>XL @if ($errors->has('tshirt_size'))
{{ $errors->first('tshirt_size') }}
@endif
@else @endif @if ($player->adult == 'false')

Guardian information

@if ($errors->has('gardian_name'))
{{ $errors->first('gardian_name') }}
@endif
@if ($errors->has('gardian_relation'))
{{ $errors->first('gardian_relation') }}
@endif
@if ($errors->has('gardian_city'))
{{ $errors->first('gardian_city') }}
@endif
@if ($errors->has('gardian_mobile'))
{{ $errors->first('gardian_mobile') }}
@endif
@if ($errors->has('gardian_email'))
{{ $errors->first('gardian_email') }}
@endif
@if ($errors->has('gardian_address'))
{{ $errors->first('gardian_address') }}
@endif
@else @endif

Doctor Information

@if ($errors->has('doctor_name'))
{{ $errors->first('doctor_name') }}
@endif
@if ($errors->has('doctor_moile'))
{{ $errors->first('doctor_mobile') }}
@endif

Emergency Contact

@if ($errors->has('emg_person_name'))
{{ $errors->first('emg_person_name') }}
@endif
@if ($errors->has('emg_person_relation'))
{{ $errors->first('emg_person_relation') }}
@endif
@if ($errors->has('emg_person_mobile'))
{{ $errors->first('emg_person_mobile') }}
@endif
@endsection