Sha256: c25fc085b8909126a8538ad485263451317bf70e95f17fdedf5bf94c96be686a
Contents?: true
Size: 615 Bytes
Versions: 12
Compression:
Stored size: 615 Bytes
Contents
.well %h2= current_page_title %p In addition to including %a{href: action_column_index_path}a grid into a form it is possible to dump the state of filters into another form as a set of hidden parameters with helper %code dump_filter_parameters_as_hidden_fields(grid_object) \. = show_code = form_tag(integration_with_forms_path, method: :get) do = dump_filter_parameters_as_hidden_fields(@tasks_grid) %p= select_tag 'archived', options_for_select([['View active tasks', 0], ['View archived tasks', 1]], @archived ? 1 : 0), class: 'reload-on-change form-control' = render 'grid'
Version data entries
12 entries across 12 versions & 2 rubygems