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.4.3 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.4.2 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.4.1 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.3.12 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.3.10 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.3.9 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.3.8 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.3.7 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.3.6 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.3.5 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.3.4 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.3.3 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.3.2 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.3.1 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.3.0 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.2.13 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.2.12 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.2.11 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.2.10 app/helpers/egov_utils/groups_helper.rb
egov_utils-0.2.9 app/helpers/egov_utils/groups_helper.rb