@@ -68,7 +68,9 module WatchersHelper | |||||
68 | users.map do |user| |
|
68 | users.map do |user| | |
69 | c = checked.nil? ? object.watched_by?(user) : checked |
|
69 | c = checked.nil? ? object.watched_by?(user) : checked | |
70 | tag = check_box_tag 'issue[watcher_user_ids][]', user.id, c, :id => nil |
|
70 | tag = check_box_tag 'issue[watcher_user_ids][]', user.id, c, :id => nil | |
71 | content_tag 'label', "#{tag} #{h(user)}", :id => "issue_watcher_user_ids_#{user.id}", :class => "floating" |
|
71 | content_tag 'label', "#{tag} #{h(user)}".html_safe, | |
72 | end.join |
|
72 | :id => "issue_watcher_user_ids_#{user.id}", | |
|
73 | :class => "floating" | |||
|
74 | end.join.html_safe | |||
73 | end |
|
75 | end | |
74 | end |
|
76 | end |
General Comments 0
You need to be logged in to leave comments.
Login now