diff options
author | Rhenium <rhenium@rhe.jp> | 2014-03-09 00:13:39 +0900 |
---|---|---|
committer | Rhenium <rhenium@rhe.jp> | 2014-03-09 00:13:39 +0900 |
commit | ba2025a9b59c53abdce764bedb976545af3108ad (patch) | |
tree | 70e09015f4d35357382808e71a1a4b37d332870d /app/views/layouts/_base.html.haml | |
parent | dd220c51e303f82df664679fead0dc7aeacbc7d1 (diff) | |
download | aclog-ba2025a9b59c53abdce764bedb976545af3108ad.tar.gz |
add incremental search suggestion to jump_to_user on page header
Diffstat (limited to 'app/views/layouts/_base.html.haml')
-rw-r--r-- | app/views/layouts/_base.html.haml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/views/layouts/_base.html.haml b/app/views/layouts/_base.html.haml index 2e7992a..9d363e5 100644 --- a/app/views/layouts/_base.html.haml +++ b/app/views/layouts/_base.html.haml @@ -32,11 +32,13 @@ %a.dropdown-toggle#jump_to_dropdown_toggle{href: "#", data: { toggle: "dropdown" }}< User %span.caret/ - %form.dropdown-menu#jump_to_form - .input-group - %input.form-control#jump_to_textbox{type: "text", placeholder: "Username"} - %span.input-group-btn - %button.btn{type: "submit"} Go + %ul.dropdown-menu#jump_to_user + %li + %form#jump_to_form{autocomplete: "off"} + .input-group + %input.form-control#jump_to_textbox{type: "text", placeholder: "Username"} + %span.input-group-btn + %button.btn{type: "submit"} Go - if logged_in? %li.dropdown %a.dropdown-toggle{href: "#", data: { toggle: "dropdown" }}< |