Here is the factory code for the Search Panel page for the Customer Hub. If you would like to use this code on your page, you can hit the red “Revert” button on your page. If you do not see the “Revert” button, that means your code is up to date.
If you have customized your code and would like to compare it with the factory code below, we recommend using a text compare tool such as DiffNow.
<form ng-submit="getSearchResults(SearchText)" ng-controller="searchController" class="search-container"> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 col-md-8 col-md-offset-2 col-sm-offset-2 col-sm-8 col-xs-12"> <div class="inputContainer" style="position:relative;"> <i ng-click="getSearchResults(SearchText)" class="fa fa-search fa-2x" style="position:absolute; right:14px; top:14px; opacity:.4"></i> <input class="search-control form-control" type="text" ng-model="SearchText" placeholder="Search"> </div> </div> </div> </div> </form>
Need more help with this?
Don’t hesitate to contact us here.