##// END OF EJS Templates
Rails3: helper: html_safe for watchers_checkboxes in WatchersHelper...
Toshi MARUYAMA -
r9329:e95ab319835b
parent child
Show More
@@ -68,7 +68,9 module WatchersHelper
68 68 users.map do |user|
69 69 c = checked.nil? ? object.watched_by?(user) : checked
70 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"
72 end.join
71 content_tag 'label', "#{tag} #{h(user)}".html_safe,
72 :id => "issue_watcher_user_ids_#{user.id}",
73 :class => "floating"
74 end.join.html_safe
73 75 end
74 76 end
General Comments 0
You need to be logged in to leave comments. Login now