Browse Source

remove duplicated :id key from app/views/timelog/report.html.erb

Ruby 2.2 shows warning.

git-svn-id: http://svn.redmine.org/redmine/trunk@13835 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.0.0
Toshi MARUYAMA 9 years ago
parent
commit
11f2ccd42f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/views/timelog/report.html.erb

+ 2
- 2
app/views/timelog/report.html.erb View File

@@ -23,8 +23,8 @@
<label for='criterias'><%= l(:button_add) %></label>: <%= select_tag('criteria[]', options_for_select([[]] + (@report.available_criteria.keys - @report.criteria).collect{|k| [l_or_humanize(@report.available_criteria[k][:label]), k]}),
:onchange => "this.form.submit();",
:style => 'width: 200px',
:id => nil,
:disabled => (@report.criteria.length >= 3), :id => "criterias") %>
:disabled => (@report.criteria.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 => @report.columns}, :class => 'icon icon-reload' %></p>
<% end %>


Loading…
Cancel
Save