Sha256: 43f52021989e6f2ac42772e65d47b4e716ab7873c11223fd93af67962ccdd41c

Contents?: true

Size: 855 Bytes

Versions: 5

Compression:

Stored size: 855 Bytes

Contents

.card.bg-light
  .card-body
    %h2= current_page_title
    %p
      It is possible to insert a custom row at the bottom of the grid with
      %code last_row
      and a custom row before or after a certain row with
      %code before_row
      and
      %code after_row.
    %p
      The block of
      %code before_row
      or
      %code after_row
      is executed for each record and if it returns a string.
    %p
      Both
      %code before_row
      and
      %code last_row
      are expected to return the complete markup for a table row starting with the
      %code tr
      tag.
    %p
      The first argument for a
      %code last_row
      block and the second argument for
      %code before_row
      and
      %code after_row
      blocks is the number of columns in the grid.

= show_code

.row
  .col-md-12
    = render   'grid'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wice_grid-7.1.4 spec/support/test_app/app/views/adding_rows/index.html.haml
wice_grid-7.1.3 spec/support/test_app/app/views/adding_rows/index.html.haml
wice_grid-7.1.2 spec/support/test_app/app/views/adding_rows/index.html.haml
wice_grid-7.1.1 spec/support/test_app/app/views/adding_rows/index.html.haml
wice_grid-7.1.0 spec/support/test_app/app/views/adding_rows/index.html.haml