Sha256: e3649e1b9b9c5958023199c9c3ff4844566f5af61de1ec443a60acbcfb92904b

Contents?: true

Size: 802 Bytes

Versions: 5

Compression:

Stored size: 802 Bytes

Contents

.card.bg-light
  .card-body
    %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
  .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

5 entries across 5 versions & 1 rubygems

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