Sha256: 5b6c4a2488d93ce9832c4e5a12f30e2335ae82a1a8c93e1d0b8a3039632f3cd9
Contents?: true
Size: 1.45 KB
Versions: 15
Compression:
Stored size: 1.45 KB
Contents
.leads-index .header %h2.title #{link_to 'Kept Leads', leads_path} (#{::Lead.kept.count}, #{::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 :op, options_for_select( [[nil,nil]] + Lead::OPS ) -# = select_tag :email_campaign_id, options_for_select( @email_campaigns_list ) = submit_tag 'Go' %table.bordered.data-table %thead %tr %th %th Name/Email %th Company %th Phone %th Tag %th created_at %th Ctx %th Sch %tbody - @leads.each do |lead| %tr %td= check_box_tag 'lead_ids[]', lead.id %td= link_to "#{lead.name} <#{lead.email}>", lead_path( lead ) %td= lead.company.company_url %td= lead.phone %td= lead.wp_tags.map(&:name).join(", ") %td= lead.created_at.to_s[0..10] %td.ctx = @email_contexts[lead.email] || '-' %td.sch = lead.scheduled_email_actions.length = link_to '[+]', new_scheduled_email_action_path( lead_id: lead.id ) -# %ul -# - lead.scheduled_email_actions.map do |sch_a| -# %li -# = link_to sch_a.email_action.slug, edit_scheduled_email_action_path( sch_a ) -# [x]
Version data entries
15 entries across 15 versions & 1 rubygems