Sha256: ab6fb32a7085a8384b062915e8c20da6bb592262f9de5c5b5907279d3385561b

Contents?: true

Size: 713 Bytes

Versions: 18

Compression:

Stored size: 713 Bytes

Contents

- content_for :scripts do
  = javascript_include_tag 'jquery.quickSearch.js'
  
  - if can?(:manage, Product) 
    = javascript_include_tag 'jquery.twoLevelSort.js'
    :javascript
      $(function() {
        $('#item-list').forgeTwoLevelSort({callbackPath: '#{reorder_forge_pages_path}'});
        $('#quick-search').quickSearch({url: '#{forge_products_path}'});
      });
    

%h1 Your Products

%p.info These are all of the products on your site.

= render :partial => "forge/shared/section_header", :locals => {:item => Product}
%ul#item-list= render :partial => "product", :collection => @products
#item-list-bottom
  %strong.float-right
    = "Too many results, only 20 displayed" if @products.size > 19

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
forge-cli-0.1.4 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.1.3 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.1.2 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.1.1 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.1.0 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.0.18 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.0.17 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.0.16 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.0.15 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.0.14 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.0.13 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.0.12 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.0.11 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.0.10 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.0.9 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.0.8 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.0.7 lib/forge/app/views/forge/products/index.html.haml
forge-cli-0.0.6 lib/forge/app/views/forge/products/index.html.haml