Sha256: 250f42397a6612c578e18cc516bff249849ed7dd10612520dced13306cd3f09b

Contents?: true

Size: 755 Bytes

Versions: 12

Compression:

Stored size: 755 Bytes

Contents

.well
  %h2= current_page_title
  %p

    To replace the default Submit and Reset icons of the grid, add class
    %code wg-external-submit-button
    to any clickable element on page and set its attribute
    %code data-grid-name
    to the name of the grid.
    Do the same for the Reset button with class
    %code wg-external-reset-button.

  %p
    %code grid
    helper parameters
    %code hide_submit_button: true
    and
    %code hide_reset_button: true
    hide the default icons.

= show_code

.row-fluid
  .col-md-12
    .external-buttons
      %button.btn.btn-primary.wg-external-submit-button{'data-grid-name' => 'grid'} Submit
      %button.btn.btn-default.wg-external-reset-button{'data-grid-name' => 'grid'} Reset


    = render   'grid'

Version data entries

12 entries across 12 versions & 2 rubygems

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