Sha256: e3ee1b1cdab4b75dd9532b1115ce7b50d7af780c89996a777e6b471231d7542d

Contents?: true

Size: 311 Bytes

Versions: 9

Compression:

Stored size: 311 Bytes

Contents

<%= activegrid paginate: 10 do |grid, model| %>
  <%= grid.column :name, filter: %W[blah Gizmo Widget], sortable: true do %>
    <%= link_to model.name, product_path(model) %>
  <% end %>

  <%= grid.column :description, filter: "string", sortable: true do %>
    <%= model.description %>
  <% end %>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
activegrid-1.0.8 test/dummy/app/views/products/_grid.html.erb
activegrid-1.0.7 test/dummy/app/views/products/_grid.html.erb
activegrid-1.0.6 test/dummy/app/views/products/_grid.html.erb
activegrid-1.0.5 test/dummy/app/views/products/_grid.html.erb
activegrid-1.0.4 test/dummy/app/views/products/_grid.html.erb
activegrid-1.0.3 test/dummy/app/views/products/_grid.html.erb
activegrid-1.0.2 test/dummy/app/views/products/_grid.html.erb
activegrid-1.0.1 test/dummy/app/views/products/_grid.html.erb
activegrid-1.0.0 test/dummy/app/views/products/_grid.html.erb