
        <!-- /.card-header -->
        <div class="card-body">
                <form id="validation2" action="{{route('admin::save_Category')}}" method="POST" enctype="multipart/form-data">
                    @csrf
                    <div class="row">
                        <div class="col-sm-12">
                            <div class="form-group">
                                <label for="exampleInputFile">Category Image</label><span style="color:red;">*</span>
                                <div class="input-group">
                                    <div class="custom-file">
                                        <input type="file" class="custom-file-input" name="image" id="exampleInputFile">
                                        <label class="custom-file-label" for="exampleInputFile">Choose file</label>
                                    </div>
                                    <div class="input-group-append">
                                        <span class="input-group-text">Upload</span>
                                    </div>
                                </div>
                            </div>

                            @if ($errors->has('image'))
                                <span class="alert alert-danger">{{ $errors->first('image') }}</span>
                            @endif
                        </div>
                    </div>
                    <br>

                    <div class="row">
                        <div class="col-sm-12">
                            <div class="form-group">
                                <label>Name</label>
                                <input type="text" name="name" class="validate[required] form-control" placeholder="Enter ...">
                            </div>
                            @if ($errors->has('title'))
                                <span class="alert alert-danger">{{ $errors->first('title') }}</span>
                            @endif


                        </div>
                    </div>
                    
            <!-- input states -->

            <div class="row">

                <div class="col-md-12">
                    <div class="form-group" style="text-align:center">
                        <input type="submit" value="Submit" class="btn btn-primary">
                    </div>
                </div>
            </div>
            </form>
            </div>

        <script type="text/javascript">
            jQuery("#validation2").validationEngine({promptPosition: 'inline'});
            $('.select2').select2();
        </script>


        <!-- /.card-body -->
