From fdf660e1fd4de1f66487751b608e6b424d42f112 Mon Sep 17 00:00:00 2001 From: Romano Licker Date: Fri, 21 Oct 2011 09:20:34 +0200 Subject: [PATCH] [#667] linked labels to their elements --- app/views/time_entry_reports/report.rhtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/time_entry_reports/report.rhtml b/app/views/time_entry_reports/report.rhtml index de2d1093..34207cac 100644 --- a/app/views/time_entry_reports/report.rhtml +++ b/app/views/time_entry_reports/report.rhtml @@ -12,17 +12,17 @@ <% end %> <%= render :partial => 'timelog/date_range' %> -

<%= l(:label_details) %>: <%= select_tag 'columns', options_for_select([[l(:label_year), 'year'], +

: <%= select_tag 'columns', options_for_select([[l(:label_year), 'year'], [l(:label_month), 'month'], [l(:label_week), 'week'], [l(:label_day_plural).titleize, 'day']], @columns), :onchange => "this.form.onsubmit();" %> - <%= l(:button_add) %>: <%= select_tag('criterias[]', options_for_select([[]] + (@available_criterias.keys - @criterias).collect{|k| [l_or_humanize(@available_criterias[k][:label]), k]}), + : <%= select_tag('criterias[]', options_for_select([[]] + (@available_criterias.keys - @criterias).collect{|k| [l_or_humanize(@available_criterias[k][:label]), k]}), :onchange => "this.form.submit();", :style => 'width: 200px', :id => nil, - :disabled => (@criterias.length >= 3)) %> + :disabled => (@criterias.length >= 3), :id => "criterias") %> <%= link_to l(:button_clear), {:project_id => @project, :issue_id => @issue, :period_type => params[:period_type], :period => params[:period], :from => @from, :to => @to, :columns => @columns}, :class => 'icon icon-reload' %>

<% end %>