@extends('lamis.layout.main')
@section('content')


 <!--Contents-->
    <main>
       <div class="inner_header">
            <div class="container">
                <h2>{{__('site.regist')}}</h2>
            </div>
            <img src="{{url('')}}/assets/lamis/images/home-topr.png" alt="" class="slider_shape">
        </div>
        
        <section class="registeration">
               @if ($errors->any())
      <div class="alert alert-danger">
          <ul>
              @foreach ($errors->all() as $error)
                  <li>{{ $error }}</li>
              @endforeach
          </ul>
      </div>
  @endif
            <div class="container">
                <div class="text-content text-center">
                    <h4>{{__('site.form')}}</h4>
                    <p>{{__('site.form_p')}}</p>
                </div>
                    <div class="form-container">
                       <form method="post" action="{{url(getCurrentLocale().'/regist')}}" enctype="multipart/form-data">
                        @CSRF
                        
                            <div class="row">
                               
                                <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                    <label>{{__('site.full_name_new')}}</label>
                                    <input type="text" name="username" class="form-control" placeholder="{{__('site.full_name')}} ..." value="{{old('username')}}">
            
                                </div>
                                 <!--<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                     <label>{{__('site.full_name_new')}} </label>
                                    <input type="text" name="full_name" class="form-control" placeholder="{{__('site.full_name')}}..." value="{{old('full_name')}}">
            
                                </div>-->
                                <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                     <label>{{__('site.email_new')}}</label>
                                    <input type="email" name="email" class="form-control" placeholder="{{__('site.email')}}..." value="{{old('email')}}">
            
                                </div>
                                 <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                     <label>{{__('site.phone_new')}}</label>
                                    <input type="number" name="phone" class="form-control" placeholder="{{__('site.phone')}}..." value="{{old('phone')}}">
            
                                </div>
                                <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                     <label>{{__('site.password_new')}}</label>
                                    <input type="password" name="password" class="form-control" placeholder="{{__('site.password')}}...">
            
                                </div>
                               
                                <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                     <label>{{__('site.city_new')}} </label>
                                    <input type="text" name="city" class="form-control" placeholder="{{__('site.city')}}..." value="{{old('city')}}">
            
                                </div>
                                
                                <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                     <label>{{__('site.job_new')}} </label>
                                    <input type="text" name="job" class="form-control" placeholder="{{__('site.job')}}..." value="{{old('job')}}">
            
                                </div>
                                
                                <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                     <label>{{__('site.image_new')}} </label>
                                    <input type="file" name="img" class="form-control">
            
                                </div>
                                
                                
                               
                               <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                    <label> {{__('site.gender_new')}} </label>
                                    <div class="present-radios">
                                       
                                        <div class="form-check">
                                            <label class="form-check-label" for="male">
                                                <input type="radio"  class="form-check-input"  name="gender"  id="male" value="male">
                                                 <span class="checkmark"></span>
                                                 <span class="text">{{__('site.male')}}</span>
                                            </label>
                                        </div>
                                        <div class="form-check">
                                            <label class="form-check-label" for="female">
                                                <input type="radio"  class="form-check-input"  name="gender"  id="female" value="female">
                                                 <span class="checkmark"></span>
                                                 <span class="text">{{__('site.female')}}</span>
                                            </label>
                                        </div>
                                      
                                    </div>
                                </div>
                                
                            
                                <div class="col-12 m-auto">
                                    <button type="submit" class="btn register-btn">{{__('site.registting')}}</button>
                                </div>
                            </div>
                       </form>
                </div>
            </div>
            <img src="{{url('')}}/assets/lamis/images/home-topr.png" alt="" class="r-top wow fadeInRight slow">
            <div class="polygan c-bottom"></div>
        </section>
    </main>
    <!--End-Contents-->





@stop