Sha256: ad7864109842b58d5c7c75a47cdd33d351163ea8c3ec965ad288b33617171d0d

Contents?: true

Size: 311 Bytes

Versions: 7

Compression:

Stored size: 311 Bytes

Contents

= section(object, :leads)
.list#leads
  - leads = object.leads.order('updated_at desc').paginate(:page => 1, :per_page => 20)
  = render :partial => "leads/lead", :collection => object.leads.paginate(:page => 1, :per_page => 20)

= will_paginate leads, :id => 'leads_pagination', :params => {:action => :leads}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fat_free_crm-0.13.2 app/views/leads/_leads.html.haml
fat_free_crm-0.12.3 app/views/leads/_leads.html.haml
fat_free_crm-0.12.2 app/views/leads/_leads.html.haml
fat_free_crm-0.13.1 app/views/leads/_leads.html.haml
fat_free_crm-0.12.1 app/views/leads/_leads.html.haml
fat_free_crm-0.13.0 app/views/leads/_leads.html.haml
fat_free_crm-0.12.0 app/views/leads/_leads.html.haml