Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan committed Nov 10, 2024
1 parent 5ead012 commit a0c451d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
10 changes: 6 additions & 4 deletions Readme.markdown
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Datagrid

[![Build Status](https://github.com/bogdan/datagrid/workflows/CI/badge.svg?branch=master)](https://github.com/bogdan/datagrid/actions)
Datagrid Version 2.0.0 is here.

[Migration Guide](./version-2).

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.heygears.com%2Fbogdan%2Fdatagrid.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.heygears.com%2Fbogdan%2Fdatagrid?ref=badge_shield)
[![Build Status](https://github.com/bogdan/datagrid/workflows/CI/badge.svg?branch=master)](https://github.com/bogdan/datagrid/actions)

A really mighty and flexible ruby library that generates reports
including admin panels, analytics and data representation:
including admin panels, analytics and data browsers:

* Filtering
* Columns
Expand All @@ -31,7 +33,7 @@ including admin panels, analytics and data representation:

## Documentation

* [Readme](/Readme.markdown) - this read-me for basic information.
* Readme - this read-me for basic information.
* [Wiki](https://github.com/bogdan/datagrid/wiki) - general reference on how to use the gem.
* [Rdoc](https://rubydoc.info/gems/datagrid) - API reference.

Expand Down
5 changes: 1 addition & 4 deletions lib/datagrid/form_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ module Datagrid
module FormBuilder
# @param filter_or_attribute [Datagrid::Filters::BaseFilter, String, Symbol] filter object or filter name
# @param options [Hash] options of rails form input helper
# @return [String] a form input html for the corresponding filter name
# * <tt>select</tt> for enum, xboolean filter types
# * <tt>check_box</tt> for boolean filter type
# * <tt>text_field</tt> for other filter types
# @return [String] a form input html for the corresponding filter
def datagrid_filter(filter_or_attribute, **options, &block)
filter = datagrid_get_filter(filter_or_attribute)
send(filter.form_builder_helper_name, filter, **options, &block)
Expand Down

0 comments on commit a0c451d

Please # to comment.