Mercurial > hg > soundsoftware-site
diff app/views/users/.svn/text-base/index.rhtml.svn-base @ 441:cbce1fd3b1b7 redmine-1.2
Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author | Chris Cannam |
---|---|
date | Mon, 06 Jun 2011 14:24:13 +0100 |
parents | 07fa8a8b56a8 |
children |
line wrap: on
line diff
--- a/app/views/users/.svn/text-base/index.rhtml.svn-base Thu Mar 03 11:42:28 2011 +0000 +++ b/app/views/users/.svn/text-base/index.rhtml.svn-base Mon Jun 06 14:24:13 2011 +0100 @@ -8,9 +8,16 @@ <fieldset><legend><%= l(:label_filter_plural) %></legend> <label><%= l(:field_status) %>:</label> <%= select_tag 'status', users_status_options_for_select(@status), :class => "small", :onchange => "this.form.submit(); return false;" %> + +<% if @groups.present? %> +<label><%= l(:label_group) %>:</label> +<%= 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;" %> +<% end %> + <label><%= l(:label_user) %>:</label> <%= text_field_tag 'name', params[:name], :size => 30 %> <%= submit_tag l(:button_apply), :class => "small", :name => nil %> +<%= link_to l(:button_clear), users_path, :class => 'icon icon-reload' %> </fieldset> <% end %>