Sha256: 73adccc364177022649070e7305fec2bde50f4024cf096dce0517fdb1dae1ffa

Contents?: true

Size: 339 Bytes

Versions: 4

Compression:

Stored size: 339 Bytes

Contents

%h1 Products

Filter:
= filter_form_for @filter
-#= inline_filter_form_for @filter
-#= horizontal_filter_form_for @filter
%br
%table.table
  %tr
    %th= link_to_sortable_column :title, 'Title'
    %th= link_to_sortable_column :price, 'Price'

  - @items.each do |item|
    %tr
      %td=item.title
      %td= item.price

= paginate @items

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simple_search_filter-0.0.5 test/dummy/app/views/products/index.html.haml
simple_search_filter-0.0.4 test/dummy/app/views/products/index.html.haml
simple_search_filter-0.0.3 test/dummy/app/views/products/index.html.haml
simple_search_filter-0.0.2 test/dummy/app/views/products/index.html.haml