Sha256: 9cbb0a316e95497716b1fbb72bbd42d1716a37679deab707c324579827ade6fb

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 KB

Contents

.card.bg-light
  .card-body
    %h2= current_page_title
    %p
      An example with 2 independant autoreloading grids on one page.

= show_code

= render   'grid', grid: @tasks_grid
= render   'grid', grid: @tasks_grid2

.row
  .col-md-2
    Title:
  .col-md-4
    = grid_filter @tasks_grid, :title
  .col-md-2
    Title:
  .col-md-4
    = grid_filter @tasks_grid2, :title
.row
  .col-md-2
    Archived:
  .col-md-4
    = grid_filter @tasks_grid, :archived
  .col-md-2
    Archived:
  .col-md-4
    = grid_filter @tasks_grid2, :archived
.row
  .col-md-2
    Status:
  .col-md-4
    = grid_filter @tasks_grid, :status_id
  .col-md-2
    Status:
  .col-md-4
    = grid_filter @tasks_grid2, :status_id
.row
  .col-md-2
    Due date:
  .col-md-4
    = grid_filter @tasks_grid, :due_date
  .col-md-2
    Due date:
  .col-md-4
    = grid_filter @tasks_grid2, :due_date
.row
  .col-md-6
    .external-buttons.grid1
      %button.btn.btn-default.wg-external-reset-button{'data-grid-name' => 'grid'} Reset
  .col-md-6
    .external-buttons.grid2
      %button.btn.btn-default.wg-external-reset-button{'data-grid-name' => 'grid2'} Reset
.row
  .col-md-6
    = render_grid(@tasks_grid)
  .col-md-6
    = render_grid(@tasks_grid2)

Version data entries

5 entries across 5 versions & 1 rubygems

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