Sha256: c62e647089653315a8ce878cc3481feeadfbffac17ae667ab81dcb010db8c465

Contents?: true

Size: 345 Bytes

Versions: 7

Compression:

Stored size: 345 Bytes

Contents

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

= will_paginate opportunities, :id => 'opportunities_pagination', :params => {:action => :opportunities}

Version data entries

7 entries across 7 versions & 1 rubygems

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