Sha256: 12a1fff303541f1e166be5a1f34e53025ae9ff9a32fa4cd15c334e33cc0c5f06

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

.actions
  = link_to_new_resource(Contact)
  = link_to_collection(Company)

- if (etag = contact_email_template_select_tag).present?
  %fieldset
    %legend= e9_t(:email_actions_legend)
    = form_tag new_contact_email_path, :method => :get, :id => 'contact_email_form', 'data-empty' => e9_t(:no_contacts_notification), 'data-count' => @contact_ids.length do
      = etag
      = hidden_field_tag 'uids', @contact_ids.join(','), :id => 'contact_email_uids'
      = submit_tag e9_t(:send_email_template), :name => nil

-# Search filter options
%fieldset
  %legend= e9_t(:search_options_legend)
  = 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'
    = submit_tag t(:go), :name => nil

  = 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

  = render 'tag_table'
  .actions
    = submit_tag t(:clear_all_filters), :name => nil, :id => 'contact_search_clear'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
e9_crm-0.1.18 app/views/e9_crm/contacts/_index_sidebar.html.haml
e9_crm-0.1.17 app/views/e9_crm/contacts/_index_sidebar.html.haml
e9_crm-0.1.16 app/views/e9_crm/contacts/_index_sidebar.html.haml
e9_crm-0.1.14 app/views/e9_crm/contacts/_index_sidebar.html.haml