Sha256: 677233c4f95e4d6bdb51886587d5cedeb5e69b3898dfd90412baf66f80e3fc55

Contents?: true

Size: 940 Bytes

Versions: 11

Compression:

Stored size: 940 Bytes

Contents

.manager-leads-index
  %h5
    SQL #{link_to 'Leads', leads_path} (#{::Lead.all.count})
    = link_to raw("<i class='fa fa-plus-square'></i>"), new_lead_path

  = form_tag leads_bulkop_path do
    = label_tag 'Act on Selected:'
    = select_tag :a, options_for_select( %w| delete add_to_campaign | )
    = select_tag :email_campaign_id, options_for_select( @email_campaigns_list )
    = submit_tag 'Go'

    %table#dataTable.display.compact
      %thead
        %tr
          %th &nbsp;
          %th Name
          %th Company
          %th Email
          %th Tag

      %tbody
        - @leads.each do |lead|
          %tr
            %td= check_box_tag 'lead_ids[]', lead.id
            %td= link_to lead.name, lead_path( lead )
            %td= lead.leadset&.name
            %td= lead.email
            -# %td= link_to raw('<i class="fa fa-envelope"></i>'), "mailto:#{lead.email}" if lead.email.present?


            %td= lead.tag

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ish_manager-0.1.8.340 app/views/ish_manager/leads/index.haml
ish_manager-0.1.8.339 app/views/ish_manager/leads/index.haml
ish_manager-0.1.8.338 app/views/ish_manager/leads/index.haml
ish_manager-0.1.8.337 app/views/ish_manager/leads/index.haml
ish_manager-0.1.8.336 app/views/ish_manager/leads/index.haml
ish_manager-0.1.8.335 app/views/ish_manager/leads/index.haml
ish_manager-0.1.8.334 app/views/ish_manager/leads/index.haml
ish_manager-0.1.8.333 app/views/ish_manager/leads/index.haml
ish_manager-0.1.8.332 app/views/ish_manager/leads/index.haml
ish_manager-0.1.8.331 app/views/ish_manager/leads/index.haml
ish_manager-0.1.8.330 app/views/ish_manager/leads/index.haml