?
Current File : /home/sanghavirealty/public_html/resourcesazwer/views/authviews/register.blade.php
@extends('loginlayout.login-layout-design', [
    'admintitle' => 'Register',
])


@section('content')

    <div class="col-lg-12 col-md-12 d-flex flex-column ms-auto me-auto login">
        <div class=" text-center loginlogo mb-3">
        <img class="" src="{{url('userassets')}}/logo.png">
        </div>
        <h3 class="text-center">New User Registration</h3>
        <p class="mandatory text-center mb-1">All fields are mandatory</p>


        <div class=" form-top alert alert-danger">
            @include('error.error-display')
        </div>


        <form _lpchecked="1" method="POST" action="{{ route('register') }}">
            @csrf

 <div class="form-group ">
            <div class="row g-2 ">
                  
               <div class="col mb-lg-2 mb-md-2">
                 

                        <input id="name" class="form-control" type="text" name="name" value="{{ old('name') }}"
                            required autofocus placeholder="First Name" />
                        <label for="">First Name<span class='mandatory'>*</span></label>
                    </div>
               

                 <div class="col mb-lg-2 mb-md-2">
                   
                        <input type="text" name='lastname' class="form-control" id="floatingInput"
                            placeholder="Last Name" required autofocus autocomplete="off" value="{{ old('lastname') }}">
                        <label for="">Surname<span class='mandatory'>*</span></label>
                    </div>
                </div>
            </div>
  <div class="form-group">
            <div class="row g-2 ">
               
                 <div class="col mb-lg-2 mb-md-2">
                   

                        <input id="middlename" class="form-control" type="text" name="middlename"
                            value="{{ old('middlename') }}" required autofocus placeholder="Middle Name" />
                        <label for="">Father Name<span class='mandatory'>*</span></label>
                    </div>
                 <div class="col mb-lg-2 mb-md-2">
                    
                        <input type="text" name='grandfathername' class="form-control" id="floatingInput"
                            placeholder="Grand Father Name" required autofocus autocomplete="off"
                            value="{{ old('grandfathername') }}">
                        <label for="">Grand Father Name<span class='mandatory'>*</span></label>
                    </div>
                </div>
            </div>



 <div class="form-group">
            <div class="row g-2 ">
                
                 <div class="col mb-lg-2 mb-md-2">
                   

                        <input id="mobile" class="form-control" type="text" name="mobile" value="{{ old('mobile') }}"
                            required autofocus placeholder="mobile" />
                        <label for="">Mobile<span class='mandatory'>*</span></label>
                    </div>
             
                 <div class="col mb-lg-2 mb-md-2">
                    
                        <select name="location" id='floatingInput' type="text"
                            class="form-select @error('location') is-invalid @enderror" autocomplete="off">
                            <option value='0.0'>Select</option>
                            @foreach ($locationCombo as $location)
                                <option value='{{ $location->id }}'
                                    {{ (old('location') ?? '') == $location->id ? 'selected' : '' }}>
                                    {{ $location->title }} </option>
                            @endforeach
                        </select>


                        <label for="">Location<span class='mandatory'>*</span></label>
                        @error('location')
                            <div class="alert alert-danger">{{ $message }}</div>
                        @enderror
                    </div>
                </div></div>




                {{--  <div class="col mb-lg-2 mb-md-2">
                    <div class="form-group">
                        <input type="text" class="form-control" id="floatingInput" name='location' placeholder="location" value="{{ old('location') }}"
                            autocomplete="off">
                        <label for="">Location<span class='mandatory'>*</span></label>
                    </div>
                </div> --}}
          
 <div class="form-group">
            <div class="row g-2 ">
                
                 <div class="col mb-lg-2 mb-md-2">
                   

                        <input id="address" class="form-control" type="text" name="address"
                            value="{{ old('address') }}" required autofocus placeholder="address" />
                        <label for="">Address<span class='mandatory'>*</span></label>
                    </div>
                


 
                 <div class="col mb-lg-2 mb-md-2">
                   
                        <select name="native" id='floatingInput' type="text"
                            class="form-select @error('native') is-invalid @enderror" autocomplete="off">


                            <option value='0.0 '>Select</option>
                            @foreach ($vasCombo as $location)
                                <option value='{{ $location->id }}'
                                    {{ (old('native') ?? '') == $location->id ? 'selected' : '' }}>
                                    {{ $location->title }} </option>
                            @endforeach
                        </select>


                        <label for="">Vaas (mohallo)<span class='mandatory'>*</span></label>
                        @error('native')
                            <div class="alert alert-danger">{{ $message }}</div>
                        @enderror
                    </div>
                </div>
            </div>


                    {{--  <div class="col mb-lg-2 mb-md-2">
                    <div class="form-group">
                        <input type="text" class="form-control" name='native' id="floatingInput" placeholder="Native" value="{{ old('native') }}"
                            autocomplete="off">
                        <label for="">Vaas (mohallo)<span class='mandatory'>*</span></label>
                    </div>
                </div> --}}
                
<div class="form-group">
                <div class="row g-2">
                     
                     <div class="col mb-lg-2 mb-md-2">

                       
                            <input id="email" class="form-control" type="email" name="email"
                                value="{{ old('email') }}" placeholder="Email" required autofocus />
                            <label for="">Email address<span class='mandatory'>*</span></label>
                        </div>

                    </div>
                </div>


<div class="form-group">
                <div class="row g-2">
                      
                     <div class="col mb-lg-2 mb-md-2">
                      
                            <input id="password" class="form-control" type="password" name="password" required
                                autocomplete="current-password" placeholder="Password" />
                            <label for="floatingPassword">Password<span class='mandatory'>*</span></label>
                        </div>
                    </div>
                </div>

 <div class="form-group">
                <div class="row g-2">
                    
                     <div class="col mb-lg-2 mb-md-2">
                       
                            {{-- <input id="RoleFor" class="form-control" type="hidden" name="RoleFor" value='3' /> --}}
                            <input id="password_confirmation" class="form-control" type="password"
                                name="password_confirmation" required autocomplete="current-password"
                                placeholder="Confirm Password" />
                            <label for="floatingPassword">Confirm Password<span class='mandatory'>*</span></label>
                        </div>
                    </div>
                </div>


                {{-- accepted --}}

                <div class="my-2 agree">
                    <label for="floatingPassword"class="form-check-label fs-base">
                        <input type="checkbox" name="terms" class='form-check-input' value="1">
                        <a href="{{ url('/tos') }}">I agree to terms & conditions</a><span
                            class='mandatory'>*</span></label>
                </div>






                <div class="loginbtn my-3">
                    <button class="w-100 btn btn-primary hvr-bounce-to-top fade-in" type="submit" class="form-control">Sign up <i class="fa fa-arrow-right"></i></button>
                </div>

        </form>


        <div class="account mb-3">

            Already registered? <a class="small" href="/login"> Login Here</a>
        </div>
    </div>

    </div>



    </form>

@stop