Created
October 18, 2013 23:31
-
-
Save mersy/7049781 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var searchFormHTML = [ | |
'<form action="/search.html{{action}}" method="GET">', | |
'<input type="hidden" name="flexiblesearch" value="1">', // This element is required. | |
'<input type="hidden" name="offset" value="0">', | |
'<input type="hidden" name="limit" value="' + op.paginate.count + '">', | |
'<div class="input-group">', | |
'<input type="search" name="search" placeholder="{{searchPlaceholder}}" class="fs-text fs-search form-control">', | |
'<span class="input-group-btn">', | |
'<button class="btn btn-default" type="submit" id="fs-search-submit" class="fs-btn fs-submit" value="{{submitBtnText}}"><span class="glyphicon glyphicon-search"></span></button>', | |
'</span>', | |
'</div>', | |
advancedFormHTML, // Advanced Form | |
'</form>' | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment