Module: EgovUtils::GroupsHelper

Defined in:
app/helpers/egov_utils/groups_helper.rb

Instance Method Summary collapse

Instance Method Details

#principals_check_box_tags(name, principals) ⇒ Object



4
5
6
7
8
9
10
# File 'app/helpers/egov_utils/groups_helper.rb', line 4

def principals_check_box_tags(name, principals)
  s = ''
  principals.each do |principal|
    s << "<label>#{ check_box_tag name, principal.id, false, :id => nil } #{h principal}</label>\n"
  end
  s.html_safe
end