diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-10-24 17:12:39 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-10-24 17:12:39 +0000 |
commit | 16eda4c5c91c55a09eec7a1d04b9db98aeb4ece5 (patch) | |
tree | 5e613765f4d5e5f9883a227abddd7db2397b66eb /app/views/admin | |
parent | b4101c8b65ecab179a3af492023d95a20d4bc388 (diff) | |
download | redmine-16eda4c5c91c55a09eec7a1d04b9db98aeb4ece5.tar.gz redmine-16eda4c5c91c55a09eec7a1d04b9db98aeb4ece5.zip |
Adds the ability to search for a project name or identifier on the administration projects list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1947 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/projects.rhtml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml index c42845622..6c7a21fb5 100644 --- a/app/views/admin/projects.rhtml +++ b/app/views/admin/projects.rhtml @@ -4,11 +4,13 @@ <h2><%=l(:label_project_plural)%></h2> -<% form_tag() do %> +<% form_tag({}, :method => :get) do %> <fieldset><legend><%= l(:label_filter_plural) %></legend> <label><%= l(:field_status) %> :</label> <%= select_tag 'status', project_status_options_for_select(@status), :class => "small", :onchange => "this.form.submit(); return false;" %> -<%= submit_tag l(:button_apply), :class => "small" %> +<label><%= l(:label_project) %>:</label> +<%= text_field_tag 'name', params[:name], :size => 30 %> +<%= submit_tag l(:button_apply), :class => "small", :name => nil %> </fieldset> <% end %> |