Current File : //home/tradevaly/new.tradevaly.com.bd/resources/views/frontend/utils/contactForm.blade.php
 <h6> {{ translate('Tell Us What You') }} <span>{{ translate('NEED') }}</span> </h6> 
                <form method="POST" name="quoteForm" action="{{route('contact')}}" novalidate="novalidate">@csrf
                    <div class="form-row mt-3" style="padding-left:26px !important;">
                        <div class="col-sm-12"> 
                            <label>{{ translate('Requirements') }}</label> 
                            <input type="text" name="question" class="form-control" placeholder="{{ translate('Enter product/service name') }}" title="{{ translate('Comma seperated keywords') }}" autocomplete="off" required aria-required="true"> 
                        </div>
                        <div class="col-lg-6 col-md-12 col-sm-6">
                        <label>{{ translate('Name') }}</label> 
                        <input type="text" name="name" class="form-control" placeholder="{{ translate('Full Name') }}" title="{{ translate('Please enter your Full Name here') }}" autocomplete="name" required aria-required="true"> 
                        </div>
                        <div class="col-lg-6 col-md-12 col-sm-6">
                            <label>{{ translate('Email') }}</label> 
                            <input type="email" name="email" class="form-control" placeholder="{{ translate('name@company.com') }}" title="{{ translate('Please enter your Email Address here') }}" autocomplete="email" required aria-required="true">
                        </div>
                        <div class="col-lg-6 col-md-12 col-sm-6">
                            <label>{{ translate('Company') }}</label> 
                            <input type="text" name="company" class="form-control" placeholder="{{ translate('Company Name') }}" title="{{ translate('Please enter your Company Name here') }}" autocomplete="organization" required aria-required="true"> 
                        </div>
                         @php
                                $my_ip = ip_country('103.122.29.214')->country_code;

                                $my_country = \App\Models\Country::where('iso', $my_ip)->first();
                                
                                $countrylist = \App\Models\Country::all();
                                @endphp
                                <div class="col-lg-6 col-md-12 col-sm-6">
                                    <select class="form-control" name="country_id" id="country_id" required>
                                        <option value="">Choose Country</option>
                                        @foreach($countrylist as $country)
                                        <option value="{{$country->id}}" @if($country->id == $my_country->id) selected @endif>{{$country->name}}</option>
                                        @endforeach
                                    </select>
                                </div>
                        <div class="col-lg-6 col-md-12 col-sm-6">
                            <label>{{ translate('Phone') }}</label> 
                            <input type="tel" id="phone" class="form-control" placeholder="" name="phone">
                        </div>
                        <div class="col-md-12"> 
                            <label>{{ translate('I am a') }}</label> 
                            <select class="form-control valid" name="role" required aria-required="true" aria-invalid="false"> <option value="1" selected="">{{ translate('Seller') }}</option> <option value="0">{{ translate('Buyer') }}</option> </select>
                        </div>
                        <div class="col-lg-6 {{ $errors->has('g-recaptcha-response') ? ' has-error' : '' }}">
                                     {!! app('captcha')->display() !!}
                                @if ($errors->has('g-recaptcha-response'))
                                    <span class="help-block">
                                        <strong>{{ $errors->first('g-recaptcha-response') }}</strong>
                                    </span>
                                @endif
                                </div> 

                        <div class="col-12 form-p-0 text-center">
                            <button type="submit" class="btn btn-outline-danger">{{ translate('Submit') }}</button> 
                        </div>
                        <p class="text-center"><span>*</span> {{ translate('To achieve our mission we provide all the necessary functionalities to buyers and sellers that help them in developing the voice of their business and to expand worldwide.') }}</p>
                    </div>
                </form>