diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-29 01:15:37 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-29 01:15:37 +0000 |
commit | 6505bf80e51d0c04f0111e162b3acfd93e998b4f (patch) | |
tree | fd75f0e1eac54bb4d25fe2d48d622d22d30679b0 /app | |
parent | f8c9efdb31af5f02b27a68d2aabc9e18380ae2f8 (diff) | |
download | redmine-6505bf80e51d0c04f0111e162b3acfd93e998b4f.tar.gz redmine-6505bf80e51d0c04f0111e162b3acfd93e998b4f.zip |
[#9489] link label to element
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7680 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/layouts/base.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb index afed93915..26a4b9478 100644 --- a/app/views/layouts/base.html.erb +++ b/app/views/layouts/base.html.erb @@ -37,7 +37,9 @@ <div id="quick-search"> <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %> <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %> - <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>: + <label for='q'> + <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>: + </label> <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %> <% end %> <%= render_project_jump_box %> |