Sha256: 6193c849ca3ddd11f6bcaedb15ec3ce9bf97ff12cbb8340cd11eac63f825e936

Contents?: true

Size: 472 Bytes

Versions: 12

Compression:

Stored size: 472 Bytes

Contents

:css
  table.my-grid {
    border: 1px solid red;
  }
  table.my-grid tr.my-header {
    background-color: #ebebeb;
  }


.well
  %h2= current_page_title
  %p
    It is possible to override the default ordering by specifying a Proc which generates custom sql code. "Status Name"
    is sorted alphabetically unless
    = link_to 'a sort_by_length parameter is in the request.', sort_by_length: true

= show_code

.row
  .col-md-6
    = render   'grid', grid: @status_grid

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
wice_grid-6.1.3 spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml
wice_grid-6.1.2 spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml
wice_grid-6.1.1 spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml
wice_grid-6.1.0 spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml
pwice_grid-7.0.0 spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml
pwice_grid-6.1.2 spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml
pwice_grid-6.1.1 spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml
pwice_grid-6.1.0 spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml
pwice_grid-5.0.2 spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml
pwice_grid-5.0.1 spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml
pwice_grid-5.0.0 spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml
wice_grid-4.1.0 spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml