.scheduled-emails-index.padded
.header
%h2
Scheduled Email Actions
-# (#{Sch.kept.count})
(#{Sch.all.count})
= link_to '[+]', new_scheduled_email_action_path
.items
- @scheduled_email_actions.each do |sch|
.item.Card
.flex-row
.gray= sch.id
= link_to '[~]', edit_scheduled_email_action_path(sch)
%ul
%li EAct: #{link_to sch.email_action.slug, edit_email_action_path(sch.email_action)}
%li Tmpl: #{sch.email_action.email_template.slug}
- if sch.lead_id
%li Lead: #{link_to sch.lead.email, lead_path(sch.lead) }
%li State: #{sch.state}
%li Perform at: #{sch.perform_at.in_time_zone}