Sha256: 9baeb96e9038a6489eb4692a7b0712fd79f8bb17d9bb0d7e53d4b59814ad2421

Contents?: true

Size: 293 Bytes

Versions: 89

Compression:

Stored size: 293 Bytes

Contents

module EgovUtils
  module GroupsHelper

    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

  end
end

Version data entries

89 entries across 89 versions & 1 rubygems

Version Path
egov_utils-0.2.8 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.2.7 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.2.6 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.2.5 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.2.4 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.2.3 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.2.2 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.2.1 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.2.0 app/helpers/egov_utils/groups_helper.rb