diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-08-30 20:16:17 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-08-30 20:16:17 +0000 |
commit | 52fbcebb6dfd69302b43b9785e92a654c8c331ca (patch) | |
tree | 7e1fb3100288f9837f0a0abc6cf0ca429f5717ec /app/views/groups/index.html.erb | |
parent | 58c3270a7d993927e52803343e542749c40d12d9 (diff) | |
download | redmine-52fbcebb6dfd69302b43b9785e92a654c8c331ca.tar.gz redmine-52fbcebb6dfd69302b43b9785e92a654c8c331ca.zip |
Adds name filter on group list.
git-svn-id: http://svn.redmine.org/redmine/trunk@15757 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/groups/index.html.erb')
-rw-r--r-- | app/views/groups/index.html.erb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/groups/index.html.erb b/app/views/groups/index.html.erb index 95a683ed8..a8886d0d8 100644 --- a/app/views/groups/index.html.erb +++ b/app/views/groups/index.html.erb @@ -3,6 +3,17 @@ </div> <%= title l(:label_group_plural) %> + +<%= form_tag(groups_path, :method => :get) do %> +<fieldset><legend><%= l(:label_filter_plural) %></legend> + <label for='name'><%= l(:label_group) %>:</label> + <%= text_field_tag 'name', params[:name], :size => 30 %> + <%= submit_tag l(:button_apply), :class => "small", :name => nil %> + <%= link_to l(:button_clear), groups_path, :class => 'icon icon-reload' %> + </fieldset> +<% end %> + + <% if @groups.any? %> <div class="autoscroll"> <table class="list groups"> |