Sha256: b85e2e477254d184ca81c7dc2fe420ffbd6f7873bbb194da5c2dac30269b7c2d

Contents?: true

Size: 740 Bytes

Versions: 5

Compression:

Stored size: 740 Bytes

Contents

.card.bg-light
  .card-body
    %h2= current_page_title
    %p
      You can hide a certain action checkbox if you add the usual block to
      %code g.action_column
      , just like with the
      %code g.column
      definition. If the block returns
      %code nil
      or
      %code false
      no checkbox will be rendered.

= show_code

= dump_filter_parameters_as_hidden_fields(@tasks_grid)
= form_for '#', method: :get do
  - if @selected
    .card.bg-light
      .card-body
        Selected tasks:
        = @selected.to_sentence
  .row
    .col-md-12
      %p
        %button.btn.btn-default{'type' => 'submit'} Process tasks

      = render   'grid'

      %p
        %button.btn.btn-default{'type' => 'submit'} Process tasks

Version data entries

5 entries across 5 versions & 1 rubygems

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