Sha256: 2f86af47053ca67ddd4ad3bf7b546f8d17b9be7b690af6d7bfb5bd21367aee97

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

- content_for :toolbar_middle do
  = toolbar_filters do
    = form_tag(resource_class, :method => :get, :class => 'scope-selects') do
      .field
        = label_tag 'pageview-campaign', t(:filter_by, :attribute => resource_class.human_attribute_name(:campaign))
        %select{:name => 'campaign', :id => 'pageview-campaign'}
          = page_view_campaign_select_options
      .field
        = label_tag 'pageview-events', t(:filter_by, :attribute => resource_class.human_attribute_name(:event))
        %select{:name => 'new_visits', :id => 'pageview-events'}
          = page_view_new_visit_select_options
      .field
        = label_tag 'pageview-month', t(:filter_by, :attribute => resource_class.human_attribute_name(:month))
        %select{:name => 'month', :id => 'pageview-month'}
          = page_view_date_select_options(:type => :in_month)
      .field
        = label_tag 'pageview-contact', t(:filter_by, :attribute => resource_class.human_attribute_name(:contact))
        %input.contact-autocomplete{:type => :text, :style => @contact.blank? && '' || 'display:none', :placeholder => 'Enter Contact...', :id => 'pageview-contact'}
        .contact-select{:style => @contact.blank? && 'display:none' || ''}
          %span.content= @contact.try(:name_with_email)
          %input{:type => :hidden, :name => "contact", :value => @contact.try(:id)}
          %a{:class => :remove, :title => "Remove", :alt => "Remove"} Remove

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
e9_crm-0.1.34 app/views/e9_crm/page_views/_header.html.haml