[refs #194] fix selected labels in the index page

This commit is contained in:
Alexander Machehin 2012-03-07 22:04:37 +06:00
parent c657efc338
commit b70e8db695
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
#labels-stock
=form_tag project_issues_path(@project), :id => 'filter_labels', :method => :get do
- @project.labels.each_with_index do |label, index|
.div-tracker-labels{:id => "label-#{label.name}", :style => @labels.include?(label.name) ? "background-color:##{label.color};color:'#FFF'" : ''}
.div-tracker-labels{:id => "label-#{label.name}", :style => @labels.include?(label.name) ? "background-color:##{label.color};color:#FFF" : ''}
.div-label-left
.label
.flag{:id => "flag-#{label.name}", :style => "background-color: ##{label.color};"}