Sha256: ad4db80d0aa90d7dcb83c95eee9dc6c020ad8883af7fd92bbf7ab039855ea626

Contents?: true

Size: 400 Bytes

Versions: 8

Compression:

Stored size: 400 Bytes

Contents

- asset = controller_name.singularize
%tr
  %td{ :valign => :top, :colspan => span }
    .label Tags:
    = f.select :tag_list, Tag.all.map{|t| [t.name, t.name] }, {:value => f.object.tags.map{|t| t.name }}, {:multiple => true, :"data-placeholder" => t(:select_or_create_tags), :style => "width: 500px;"}

    :javascript
      crm.chosen_taglist('#{asset}', '#{controller_name}', '#{params[:id]}');

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fat_free_crm-0.13.2 app/views/shared/_tags.html.haml
fat_free_crm-0.12.3 app/views/shared/_tags.html.haml
fat_free_crm-0.12.2 app/views/shared/_tags.html.haml
fat_free_crm-0.13.1 app/views/shared/_tags.html.haml
fat_free_crm-0.12.1 app/views/shared/_tags.html.haml
fat_free_crm-0.13.0 app/views/shared/_tags.html.haml
fat_free_crm-0.12.0 app/views/shared/_tags.html.haml
fat_free_crm-0.11.4 app/views/shared/_tags.html.haml