@extends('master')



@section('content')

  <!-- page content -->

<div class="right_col" role="main">

  <div class="row x_panel">

    <div class="col-md-12 col-sm-12 col-xs-12">

    <h1> Add Trader Company</h1>



<form action="<?php echo url('/'); ?>/admin/trader_company/add" id="" class="form-horizontal " method="post" enctype="multipart/form-data">

{{ csrf_field() }}



    





	<!-- Company_name Start -->

	<div class="form-group">

	  <label for="company_name" class="col-sm-3 control-label"> Company Name </label>

	  <div class="col-sm-4">

	    <input type="text" class="form-control" id="company_name" name="company_name" 

	    value="{{ old('company_name') }}">

	  </div>

	  <div class="col-sm-5">

      <div class="label label-danger">{{ $errors->first("company_name") }}</div>

      </div>

	</div> 

	<!-- Company_name End -->





	





	<!-- Email Start -->

	<div class="form-group">

	  <label for="email" class="col-sm-3 control-label"> Email </label>

	  <div class="col-sm-4">

	    <input type="email" class="form-control" id="email" name="email" value="{{ old('email') }}">

	  </div>

	  <div class="col-sm-5">

      <div class="label label-danger">{{ $errors->first("email") }}</div>

      </div>

	</div> 

	<!-- Email End -->





	





	<!-- Mobile Start -->

	<div class="form-group">

	  <label for="mobile" class="col-sm-3 control-label"> Mobile </label>

	  <div class="col-sm-4">

	    <input type="number" class="form-control" id="mobile" name="mobile" value="{{ old('mobile') }}" onkeydown="if(this.value.length==10 && event.keyCode!=8 && event.keyCode!=9) return false;" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');">

	  </div>

	  <div class="col-sm-5">

      <div class="label label-danger">{{ $errors->first("mobile") }}</div>

      </div>

	</div> 

	<!-- Mobile End -->





	





	<!-- Password Start -->

	<!-- <div class="form-group">

	  <label for="password" class="col-sm-3 control-label"> Password </label>

	  <div class="col-sm-4">

	    <input type="text" class="form-control" id="password" name="password" 

	    value="{{ old('password') }}">

	  </div>

	  <div class="col-sm-5">

      <div class="label label-danger">{{ $errors->first("password") }}</div>

      </div>

	</div> --> 

	<!-- Password End -->





	



	<!-- Status Start -->

	<div class="form-group">

        <label class="control-label col-md-3">Status</label>

         <div class=" col-md-4 switch">

                    <div class="onoffswitch">

     <input type="checkbox" class="onoffswitch-checkbox"  data-on-label="Yes" data-off-label="No"  name="status" value="0" id="status"  style="width:20px; height:20px;"/>

    {{ $errors->first("status") }}

                        <label class="onoffswitch-label" for="status">

                            <span class="onoffswitch-switch"></span>

                            <span class="onoffswitch-inner"></span>

                        </label>

                    </div>

                </div>



      </div>

      <!-- Status End -->







  <div class="form-group">

    <div class="col-sm-3" >

      </div>

      <div class="col-sm-6">

    <button type="reset" class="btn btn-default ">Reset</button>

    <button type="submit" class="btn btn-info ">Submit</button>

      </div>

        <div class="col-sm-3" >

      </div>

  </div>

</form>







    </div>

  </div>

</div>

<!-- /page content -->

@endsection



