Sha256: b63f3888a0ab58475656b21a92839ed2559044cf59ec7a0c420f434ce4230aaf

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

= title (@index_title || e9_t(:index_title, :scope => 'e9_crm.reports'))

- content_for :toolbar_middle do
  = toolbar_filters do
    = form_tag(resource_class, :method => :get, :class => 'scope-selects') do
      .field
        = label_tag 'campaign-type', t(:filter_by, :attribute => resource_class.human_attribute_name(:type))
        %select{:name => 'type', :id => 'campaign-type'}
          = campaign_type_select_options
      .field
        = label_tag 'campaign-group', t(:filter_by, :attribute => resource_class.human_attribute_name(:group))
        %select{:name => 'group', :id => 'campaign-group'}
          = campaign_group_select_options
      .field
        = label_tag 'campaign-from', t(:filter_by, :attribute => resource_class.human_attribute_name(:from))
        %select{:name => 'from', :id => 'campaign-from'}
          = deal_date_select_options
      .field
        = label_tag 'campaign-until', t(:filter_by, :attribute => resource_class.human_attribute_name(:until))
        %select{:name => 'until', :id => 'campaign-until'}
          = deal_date_select_options(:type => :until)

- content_for :toolbar_right do
  = toolbar_actions do
    = link_to_collection(Campaign)

= render 'shared/admin/toolbar'

%div#records_table
  = render 'reports_table'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
e9_crm-0.1.34 app/views/e9_crm/campaigns/reports.html.haml