aboutsummaryrefslogtreecommitdiff
path: root/views/index.hbs
diff options
context:
space:
mode:
authorkdam0 <kumar.damani@mail.utoronto.ca>2017-01-30 05:02:09 +0000
committerkdam0 <kumar.damani@mail.utoronto.ca>2017-01-30 05:02:09 +0000
commit98c9cbc6258f699fc944f025230c35faf8575bc2 (patch)
treef2c1e809bb2b2573d88ef9bd77eafa65808dca94 /views/index.hbs
parent541341598d5ed0e5c8ef9b2325dc6bbec958463a (diff)
feat. added auto fill for search bar.
Diffstat (limited to 'views/index.hbs')
-rw-r--r--views/index.hbs16
1 files changed, 9 insertions, 7 deletions
diff --git a/views/index.hbs b/views/index.hbs
index b77d5d6..c1c8eca 100644
--- a/views/index.hbs
+++ b/views/index.hbs
@@ -59,13 +59,15 @@
</ul>
</div>
- <!-- Search bar -->
- <input type="text"
- id = "user-input"
- class="form-control"
- aria-label="..."
- name="search"
- placeholder="Enter course name">
+ <div id="custom-autocomplete">
+ <!-- Search bar -->
+ <input type="text"
+ id = "user-input"
+ class="form-control typeahead"
+ aria-label="..."
+ name="search"
+ placeholder="Enter course code eg. CSC148">
+ </div>
<!-- Prompt Search -->
<span class="input-group-btn">
<button id = 'go-button'