summaryrefslogtreecommitdiff
path: root/users/app/views
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2012-11-26 10:22:48 -0800
committerjessib <jessib@leap.se>2012-11-26 10:22:48 -0800
commitba962a7d291c0d0a454a284dfb94ac35a3605e6a (patch)
tree873a6dc1b3cae51bbaa23329b238726dada1fd2d /users/app/views
parent3e744e4e226eae3ea2f900d9fccc32b6c046d65f (diff)
parentfa58393f4b665434830535b3e0c1a325c31ce03b (diff)
Merge branch 'develop' into help_develop
Diffstat (limited to 'users/app/views')
-rw-r--r--users/app/views/users/index.html.haml18
1 files changed, 17 insertions, 1 deletions
diff --git a/users/app/views/users/index.html.haml b/users/app/views/users/index.html.haml
index 7db6038..9e6a179 100644
--- a/users/app/views/users/index.html.haml
+++ b/users/app/views/users/index.html.haml
@@ -1 +1,17 @@
-%h1= User.model_name.human(:count =>@users.count)
+.page-header
+ %h1= User.model_name.human(:count =>User.count)
+.row
+ .span8
+ %h2= params[:query] ? "Users starting with '#{params[:query]}'" : "Last users who signed up"
+ %table.table.table-hover
+ %tr
+ %th Login
+ %th Created
+ %th Action
+ = render @users.all
+ .span4
+ %h4 Find user
+ = 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