Sha256: 7d55aa026097e3e648d188c7ec5ab1c40fec9d0bc9b900c6397f5a545ab9eb15
Contents?: true
Size: 399 Bytes
Versions: 4
Compression:
Stored size: 399 Bytes
Contents
- tagged_params = Array.wrap(params[:tagged]) %label= t(:tags_name, :scope => :e9_tags) .tag-holder - contact_tags.sort.group_by {|tag| tag[0].upcase }.each do |letter, tags| %ul.tags - tags.each do |tag|; tag_id = "tagged-#{tag.downcase.dasherize}" %li.tag = label_tag(tag_id, tag) = check_box_tag('tagged[]', tag, tagged_params.member?(tag), :id => tag_id)
Version data entries
4 entries across 4 versions & 1 rubygems