rosa-build/app/views/issues/_search_labels.html.haml

7 lines
291 B
Plaintext

- (@labels || []).each_with_index do |label, index|
.add_label.label{:id => "flag#{index}"}
.flag{:style => "background: ##{label.color};"}
.labeltext=label.name
=hidden_field_tag "label-#{index}", label.id, :name => "issue[labelings_attributes][#{index}][label_id]"
.both