app/views/e9_crm/contacts/show.html.haml in e9_crm-0.1.21 vs app/views/e9_crm/contacts/show.html.haml in e9_crm-0.1.22
- old
+ new
@@ -53,11 +53,11 @@
%td.contact-deal-name
= link_to deal.name, deal
%td.contact-deal-status
= deal.status
%td.contact-deal-value
- = deal.value
+ = deal.value.format
.contact.leads
%h2
%span.contact-subheader Leads
@@ -72,12 +72,12 @@
%tr
%td{:colspan => 2}= resource_humanize(:no_leads)
- else
- leads.each do |lead|
%tr
- %td.contact-lead-name
- = link_to lead.offer_name, edit_deal_path(lead)
%td.contact-lead-created-at
= l(lead.created_at)
+ %td.contact-lead-name
+ = link_to lead.offer_name, edit_deal_path(lead)
.contact-sidebar
= render 'sidebar'