Sha256: 83ad003970bc7e0ec92e0b130c6b825e61d40daadfec5cc6096f12e6c5aae198
Contents?: true
Size: 1.45 KB
Versions: 11
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
11 entries across 11 versions & 1 rubygems