<div class="tab-pane fade show {{ session('profile_tab') == 'location' ? 'active' : '' }}" id="itemSix-tab-pane"
    role="tabpanel" aria-labelledby="itemSix-tab" tabindex="0">
    <div class="instructor__profile-form-wrap">
        <form action="{{ route('instructor.setting.address.update') }}" method="POST" class="instructor__profile-form">
            @csrf
            @method('PUT')
            <div class="row">
                <div class="col-md-4">
                    <div class="form-grp">
                        <label for="country">{{ __('Country') }} <code>*</code></label>
                        <select name="country" id="country" class="country form-select">
                            <option value="">{{ __('Select') }}</option>
                            @foreach (countries() as $country)
                            <option @selected($user->country_id == $country->id) value="{{ $country->id }}">{{ $country->name }}</option>
                            @endforeach

                        </select>
                    </div>
                </div>

                <div class="col-md-4">
                    <div class="form-grp">
                        <label for="state">{{ __('State') }}</label>
                        <input type="text" class="form-control" name="state" id="state" value="{{ $user->state }}"> 
                    </div>
                </div>

                <div class="col-md-4">
                    <div class="form-grp">
                        <label for="city">{{ __('City') }}</label>
                        <input type="text" class="form-control" name="city" id="city" value="{{ $user->city }}">
                    </div>
                </div>

                <div class="col-md-12">
                    <div class="form-grp">
                        <label for="address">{{ __('Address') }}</label>
                        <input id="address" value="{{ $user->address }}" type="address" name="address" placeholder="{{ __('Address') }}">
                    </div>
                </div>

            </div>
            <div class="submit-btn mt-25">
                <button type="submit" class="btn">{{ __('Update Location') }}</button>
            </div>
        </form>
    </div>
</div>
