<div class="row">
    <div class="col-lg-12">
        <div class="ibox">

            <div class="ibox-content">

                <form class="form-horizontal m-t-sm">

                    <div class="form-group no-margins">

                        <label class="col-sm-1 col-sm-offset-1 control-label find-asset">Find an Asset <i
                                class="icon icon-c-question" data-toggle="tooltip" data-placement="right"
                                title=""
                                data-original-title="Enter asset tag or serial # or user or location to find an asset"></i></label>

                        <div class="col-sm-9">
                            <form method="get" action="" id="search-field-form">
                                <div class="input-group">

                                    <input type="text" name="searchText" id="searchText"
                                        value="{{old('searchText')}}" class="form-control ui-autocomplete search-asset-input">

                                    @if (Route::currentRouteName() == 'mobile-assets.index')
                                    <input type="hidden" name="general_type" id="general_type" class="general_type" value="mobile">
                                    @elseif(Route::currentRouteName() == "search-network-assets")
                                    <input type="hidden" name="general_type" id="general_type" class="general_type" value="network">
                                    @elseif(Route::currentRouteName() == "av-assets-search")
                                    <input type="hidden" name="general_type" id="general_type" class="general_type" value="av">
                                    @elseif(Route::currentRouteName() == "search-research-assets")
                                    <input type="hidden" name="general_type" id="general_type" class="general_type" value="research">
                                    @else
                                    <input type="hidden" name="general_type" id="general_type" class="general_type" value="">
                                    @endif
                                    <input type="hidden" name="asset_tab_selected" id="asset_tab_selected" class="asset_tab_selected" value="{{ request('asset_tab_selected') }}">
                                    <span class="input-group-btn">
                                        <button type="submit" class="btn btn-primary no-margins search-asset-form-submit"
                                            id="search-field-form-submit">Search</button>

                                    </span>

                                </div>
                            </form>

                        </div>

                    </div>

                </form>

            </div>

        </div>
    </div>
</div>