Sha256: e9e0a93ec8cba9360fc3fb8d5934ad88c94080c7fbc941af2deb5229d01774be

Contents?: true

Size: 404 Bytes

Versions: 6

Compression:

Stored size: 404 Bytes

Contents

- asset = controller_name.singularize
%tr
  %td{ :valign => :top, :colspan => span }
    .label= t(:tags) + ":"

    = f.hidden_field :tag_list,
    {:class => "select2_tag", :data => {:tags => Tag.all.map{|t| t.name},
    :url => url_for(action: 'field_group'), :placeholder => t(:select_or_create_tags),
    :multiple => true, :asset_id => f.object.try(:id),
    }, value: f.object.tag_list.join(",")}

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 app/views/shared/_tags.html.haml
fat_free_crm-0.14.1 app/views/shared/_tags.html.haml
fat_free_crm-0.15.0.beta app/views/shared/_tags.html.haml
fat_free_crm-0.14.0 app/views/shared/_tags.html.haml
reduced_fat_crm-0.15.0.beta app/views/shared/_tags.html.haml
reduced_fat_crm-0.14.0 app/views/shared/_tags.html.haml