@@ -6,15 +6,15 | |||||
6 |
|
6 | |||
7 | <% form_tag({}, :method => :get) do %> |
|
7 | <% form_tag({}, :method => :get) do %> | |
8 | <fieldset><legend><%= l(:label_filter_plural) %></legend> |
|
8 | <fieldset><legend><%= l(:label_filter_plural) %></legend> | |
9 | <label><%= l(:field_status) %>:</label> |
|
9 | <label for='status'><%= l(:field_status) %>:</label> | |
10 | <%= select_tag 'status', users_status_options_for_select(@status), :class => "small", :onchange => "this.form.submit(); return false;" %> |
|
10 | <%= select_tag 'status', users_status_options_for_select(@status), :class => "small", :onchange => "this.form.submit(); return false;" %> | |
11 |
|
11 | |||
12 | <% if @groups.present? %> |
|
12 | <% if @groups.present? %> | |
13 | <label><%= l(:label_group) %>:</label> |
|
13 | <label for='group_id'><%= l(:label_group) %>:</label> | |
14 | <%= select_tag 'group_id', '<option></option>' + options_from_collection_for_select(@groups, :id, :name, params[:group_id].to_i), :onchange => "this.form.submit(); return false;" %> |
|
14 | <%= select_tag 'group_id', '<option></option>' + options_from_collection_for_select(@groups, :id, :name, params[:group_id].to_i), :onchange => "this.form.submit(); return false;" %> | |
15 | <% end %> |
|
15 | <% end %> | |
16 |
|
16 | |||
17 | <label><%= l(:label_user) %>:</label> |
|
17 | <label for='name'><%= l(:label_user) %>:</label> | |
18 | <%= text_field_tag 'name', params[:name], :size => 30 %> |
|
18 | <%= text_field_tag 'name', params[:name], :size => 30 %> | |
19 | <%= submit_tag l(:button_apply), :class => "small", :name => nil %> |
|
19 | <%= submit_tag l(:button_apply), :class => "small", :name => nil %> | |
20 | <%= link_to l(:button_clear), users_path, :class => 'icon icon-reload' %> |
|
20 | <%= link_to l(:button_clear), users_path, :class => 'icon icon-reload' %> |
General Comments 0
You need to be logged in to leave comments.
Login now