2012-02-27 16:10:12 +00:00
|
|
|
- (@labels || []).each_with_index do |label, index|
|
2012-02-28 09:23:27 +00:00
|
|
|
.add_label.label{:id => "flag#{index}"}
|
|
|
|
.flag{:style => "background: ##{label.color};"}
|
|
|
|
.labeltext=label.name
|
2012-02-27 16:10:12 +00:00
|
|
|
=hidden_field_tag "label-#{index}", label.id, :name => "issue[labelings_attributes][#{index}][label_id]"
|
|
|
|
.both
|