summaryrefslogtreecommitdiff
path: root/users/app/views
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-04 01:33:09 -0700
committerelijah <elijah@riseup.net>2013-07-04 04:12:59 -0700
commit89ad6bd802f9e57c687e8cdb8593c3984e2fbd1b (patch)
tree3079996a475e947deece071fc6b1caea3edb1f80 /users/app/views
parent33f55eed348769e1d14b283ec36b8f1bfc2d3c98 (diff)
fix user typeahead
Diffstat (limited to 'users/app/views')
-rw-r--r--users/app/views/users/index.html.haml13
1 files changed, 6 insertions, 7 deletions
diff --git a/users/app/views/users/index.html.haml b/users/app/views/users/index.html.haml
index 254e177..fc1001e 100644
--- a/users/app/views/users/index.html.haml
+++ b/users/app/views/users/index.html.haml
@@ -2,13 +2,12 @@
= form_tag users_path, :method => :get, :class => "form-search" do
.input-append
- = text_field_tag :query, "", :class => "user typeahead span2 search-query", :autocomplete => :off
- %button.btn{:type => :submit} Search
+ = text_field_tag :query, params[:query], :id => 'user-typeahead', :class => "search-query", :autocomplete => :off
+ %button.btn{:type => :submit}= t(:search)
-%table.table.table-hover
+%table.table.table-striped
%tr
- %th Login
- %th Created
- %th Action
+ %th= t(:username)
+ %th= t(:created)
+ %th= t(:updated)
= render @users.all
-