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

Version Path
e9_crm-0.1.16 app/views/e9_crm/contacts/_tag_table.html.haml
e9_crm-0.1.14 app/views/e9_crm/contacts/_tag_table.html.haml
e9_crm-0.1.13 app/views/e9_crm/contacts/_tag_table.html.haml
e9_crm-0.1.12 app/views/e9_crm/contacts/_tag_table.html.haml