@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>Credit Plan</h1>

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

    


	<!-- Title Start -->
	<div class="form-group">
	  <label for="title" class="col-sm-3 control-label"> Title </label>
	  <div class="col-sm-4">
	    <input type="text" class="form-control" id="title" name="title" 
	    value="{{ old('title') }}">
	  </div>
	  <div class="col-sm-5">
      <div class="label label-danger">{{ $errors->first("title") }}</div>
      </div>
	</div> 
	<!-- Title End -->


	


	<!-- Amount Start -->
	<div class="form-group">
	  <label for="amount" class="col-sm-3 control-label"> Amount </label>
	  <div class="col-sm-4">
	    <input type="text" class="form-control" id="amount" name="amount" 
	    value="{{ old('amount') }}">
	  </div>
	  <div class="col-sm-5">
      <div class="label label-danger">{{ $errors->first("amount") }}</div>
      </div>
	</div> 
	<!-- Amount End -->


	

				<!-- Content Start -->
			<div class="form-group">
			  <label for="content" class="col-sm-3 control-label"> Content </label>
			  <div class="col-sm-6">
			    <textarea class="form-control ckeditor" id="content" name="content">{{ old('content') }}</textarea>
			  </div>
			  <div class="col-sm-3">
         <div class="label label-danger">{{ $errors->first("content") }}</div>
      </div>
			</div> 
			<!-- Content End -->

			

				<!-- Description Start -->
			<div class="form-group">
			  <label for="description" class="col-sm-3 control-label"> Description </label>
			  <div class="col-sm-4">
			    <textarea class="form-control" id="description" name="description">{{ old('description') }}</textarea>
			  </div>
			  <div class="col-sm-5">
         <div class="label label-danger">{{ $errors->first("description") }}</div>
      </div>
			</div> 
			<!-- Description End -->

		<div class="form-group">
        	<label class="control-label col-md-3">Basic</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="basic" value="0" id="basic"  style="width:20px; height:20px;"/>
    				{{ $errors->first("basic") }}
                    <label class="onoffswitch-label" for="basic">
                        <span class="onoffswitch-switch"></span>
                        <span class="onoffswitch-inner"></span>
                    </label>
                </div>
            </div>
      	</div>

      	<div class="form-group">
        	<label class="control-label col-md-3">Premium</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="premium" value="0" id="premium"  style="width:20px; height:20px;"/>
    				{{ $errors->first("premium") }}
                    <label class="onoffswitch-label" for="premium">
                        <span class="onoffswitch-switch"></span>
                        <span class="onoffswitch-inner"></span>
                    </label>
                </div>
            </div>
      	</div>
    		

	<!-- 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

