Sha256: 842565271e12c8999570d813534533eed5caf433cb8311c632f5bc377420cf5d

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

%fieldset
  %legend= e9_t(:search_options_legend)
  .actions
    = submit_tag t(:clear_all_filters), :name => nil, :id => 'contact_search_clear'

  = form_tag(resource_class, :method => :get, :id => 'contact_search_form') do
    = label_tag 'contact_search_field', t(:search)
    = text_field_tag 'search', params[:search], :id => 'contact_search_field'

  = form_tag(resource_class, :method => :get, :class => 'scope-selects') do
    = label_tag 'contact_company_select', Company.model_name.human
    %select{:name => 'company', :id => 'contact_company_select'}
      = company_select_options

  .field#contact_tag_list
    %label{:for => 'contact_tag_autocomplete'} Tags
    %input#contact_tag_autocomplete.list{:type => 'text', 'data-iname' => 'contact', 'data-field' => '[tagged]', :placeholder => 'Enter a tag...'}
    %ul#contact_tag_select.select
      - Array.wrap(params[:tagged]).each do |tag|
        %li.ui-state-default
          %span.content= tag
          %a{:class => :remove, :title => "Remove", :alt => "Remove"} Remove

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
e9_crm-0.1.23 app/views/e9_crm/contacts/_sidebar_search_form.html.haml
e9_crm-0.1.22 app/views/e9_crm/contacts/_sidebar_search_form.html.haml
e9_crm-0.1.21 app/views/e9_crm/contacts/_sidebar_search_form.html.haml