Sha256: e0a966988a9963cef4852521c26b445f58cbf7541271c78fad852cf667484bf8

Contents?: true

Size: 375 Bytes

Versions: 5

Compression:

Stored size: 375 Bytes

Contents

%h1 Orders

Filter:
= inline_filter_form_for @filter
%br
%table.table.table-bordered
  %tr
    %th= link_to_sortable_column :id, 'ID'
    %th Date
    %th Client name
    %th Client city

  - @items.each do |item|
    %tr
      %td=item.created_at
      %td=item.id
      %td= item.client.name
      %td= item.client.city

= paginate @items
%br
Found: #{@items.total_count}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_search_filter-0.2.1 test/dummy/app/views/orders/index.html.haml
simple_search_filter-0.1.1 test/dummy/app/views/orders/index.html.haml
simple_search_filter-0.1.0 test/dummy/app/views/orders/index.html.haml
simple_search_filter-0.0.31 test/dummy/app/views/orders/index.html.haml
simple_search_filter-0.0.30 test/dummy/app/views/orders/index.html.haml