<div class="modal inmodal" id="addAsnMapping" tabindex="-1" role="dialog">

    <div class="modal-dialog">

        <div class="modal-content animated fadeIn">

            <div class="modal-header">

                <button type="button" class="close" data-dismiss="modal"><span>×</span><span
                        class="sr-only">Close</span></button>

                <h4 class="modal-title">Add New Mapping</h4>

            </div>

            <div class="modal-body">

                @include('partials.error')

                <form class="form-horizontal" action="/insight-hardware-mapping-store" method="post"
                    id="insight-mapping-form">

                    {{csrf_field()}}

                    <input type="hidden" class="form-control" id="sync_now" name="sync_now" >

                    <div class="form-group" id="discryption">

                        <label class="col-lg-4 control-label">Manufacturer Part # (Insight)</label>

                        <div class="col-lg-8">

                            <input type="text" class="form-control" id="manf-part" name="description"
                                value="{{old('description')}}" required="">

                        </div>

                    </div>

                    <div class="form-group">
                        <label class="col-lg-4 control-label"></label>
                        <div class="col-lg-8"><label>Map to Teqtivity Hardware Standards and Tech Specs</label></div>
                    </div>

                    <div class="form-group">

                        <label class="col-lg-4 control-label">Hardware Standard</label>

                        <div class="col-lg-8">

                            <select class="form-control make_model add_make_and_model" id="make_and_model_id"
                                name="make_and_model" data-placeholder="Select" required="">
                                <option value="">Select</option>
                                @foreach($hardwareStandards as $hardwareStandard)
                                <option value="{{$hardwareStandard->id}}">{{$hardwareStandard->hardware}}</option>
                                @endforeach
                            </select>

                        </div>

                    </div>

                    <div class="form-group">

                        <label class="col-lg-4 control-label">Tech Specs</label>

                        <div class="col-lg-8">

                            <select class="form-control make_model add_technical_spec" id="technical_spec"
                                name="technical_spec" data-placeholder="Select" required="">
                                <option value="">Select</option>
                            </select>

                        </div>

                    </div>

                </form>

            </div>

            <div class="modal-footer">

                <button type="button" class="btn btn-link" data-dismiss="modal">Cancel</button>

                <button type="button" class="btn btn-primary hardware-mapping-submit" id="submit">Save</button>

            </div>

        </div>

    </div>

</div>