Sha256: 12d6be256c21e8f59eca7a9a78a71d876cd7da4116d8cf5f099bdf557905d647
Contents?: true
Size: 1.29 KB
Versions: 1
Compression:
Stored size: 1.29 KB
Contents
%table.records %thead %tr %th= orderable_column_link(:created_at) %th= orderable_column_link(:offer_name) %th= orderable_column_link(:campaign_code) %th= orderable_column_link(:lead_name) %th= orderable_column_link(:lead_email) %th= orderable_column_link(:info) %th= t(:actions) %tbody - if collection.empty? %tr %td{:colspan => 7}= e9_t(:no_records_text, :scope => 'e9_crm.leads') - else - collection.each do |record| %tr{:id => "ids_#{record.id}", :class => cycle('odd', 'even')} %td.record-created-at = I18n.l(record.created_at) %td.record-offer-name = record.offer.try(:name) || t(:no_offer_value) %td.record-campaign-code = record.campaign_code %td.record-lead-name = record.lead_name %td.record-lead-email = record.lead_email %td.record-info = k record.info %td.actions - if record.contacts.present? = link_to 'View Contact', record.contacts.first = link_to 'Create Deal', edit_deal_path(record) = link_to 'Delete Lead', record, :method => :delete, :remote => true, :confirm => I18n.t("#{resource_class.i18n_scope}.links.confirm_destroy")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
e9_crm-0.1.21 | app/views/e9_crm/deals/_leads_table.html.haml |