summaryrefslogtreecommitdiffstats
path: root/app/views/queries/_columns.html.erb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-29 01:23:47 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-29 01:23:47 +0000
commit62f87e309183e2f85a7ffab79fabd4b1fc6adc3e (patch)
tree832cf34f7179219337d7568a66760d20ae06dd91 /app/views/queries/_columns.html.erb
parentc6870edd55f7d8bdeb9bd4e4c542f24a4c8ea104 (diff)
downloadredmine-62f87e309183e2f85a7ffab79fabd4b1fc6adc3e.tar.gz
redmine-62f87e309183e2f85a7ffab79fabd4b1fc6adc3e.zip
[#9489] made labels visible as this is an accessibility issue even for sighted users
Contributed by Romano Licker. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7695 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/queries/_columns.html.erb')
-rw-r--r--app/views/queries/_columns.html.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/queries/_columns.html.erb b/app/views/queries/_columns.html.erb
index 3e08726b0..614192771 100644
--- a/app/views/queries/_columns.html.erb
+++ b/app/views/queries/_columns.html.erb
@@ -1,7 +1,8 @@
<table style="border-collapse: collapse; border:0;">
<tr>
<td style="padding-left:0">
- <%= label_tag "available_columns", l(:description_available_columns), :class => "hidden-for-sighted" %>
+ <%= label_tag "available_columns", l(:description_available_columns) %>
+ <br \>
<%= select_tag 'available_columns',
options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}),
:multiple => true, :size => 10, :style => "width:150px" %>
@@ -13,7 +14,8 @@
onclick="moveOptions(this.form.selected_columns, this.form.available_columns);" />
</td>
<td>
- <%= label_tag "selected_columns", l(:description_selected_columns), :class => "hidden-for-sighted" %>
+ <%= label_tag "selected_columns", l(:description_selected_columns) %>
+ <br \>
<%= select_tag 'c[]',
options_for_select(query.columns.collect {|column| [column.caption, column.name]}),
:id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %>