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-1.5.0.alpha15 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha14 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha13 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha12 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha11 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha10 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha9 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha8 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha7 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha6 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha5 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha4 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.4.5 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.4.4 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha3 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha2 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.5.0.alpha1 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.4.3 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.4.2 app/helpers/egov_utils/groups_helper.rb
egov_utils-1.4.1 app/helpers/egov_utils/groups_helper.rb