-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(search): Add event listerners to 'refine search' form #289
* add values and names to checkboxes * add IDs and class names to forms * get values of checkboxes as parameters on submitting the query
- Loading branch information
1 parent
8e50b55
commit 1e4f919
Showing
4 changed files
with
48 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<div class="row"> | ||
<div class="hsg-width-one-whole" data-template="app:fix-links"> | ||
<div class="hsg-width-one-whole"> | ||
<div class="hsg-search-inputs-horizontal"> | ||
<div class="hsg-search-input"> | ||
<input id="exactPhrase" type="checkbox" name="" /> | ||
<label for="exactPhrase" class="c-indicator">Exact Phrase</label> | ||
</div> | ||
<div class="hsg-search-input"> | ||
<input id="caseSensitive" type="checkbox" name="" /> | ||
<label for="caseSensitive" class="c-indicator">Case Sensitive</label> | ||
</div> | ||
<div class="hsg-search-input"> | ||
<input id="punctuationSensitive" type="checkbox" name="" /> | ||
<label for="punctuationSensitive" class="c-indicator">Punctuation Sensitive</label> | ||
</div> | ||
<form class="filter-form" id="queryFilters" action="?"> | ||
<div class="hsg-search-input"> | ||
<input id="exactPhrase" type="checkbox" name="match" value="exact_phrase" /> | ||
<label for="exactPhrase" class="c-indicator">Exact Phrase</label> | ||
</div> | ||
<div class="hsg-search-input"> | ||
<input id="caseSensitive" type="checkbox" name="match" value="case_sensitive" /> | ||
<label for="caseSensitive" class="c-indicator">Case Sensitive</label> | ||
</div> | ||
<div class="hsg-search-input"> | ||
<input id="punctuationSensitive" type="checkbox" name="match" value="punctuation_sensitive" /> | ||
<label for="punctuationSensitive" class="c-indicator">Punctuation Sensitive</label> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> |
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
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
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