Last active
December 27, 2015 20:39
-
-
Save bayendor/7385546 to your computer and use it in GitHub Desktop.
Checkbox in ransack search
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# model CLINIC has many TREATMENTS | |
<%= check_box_tag "q[treatments_id_eq_ALL][]", treatment.id, {} %> | |
= f.input :category_name_eq, :collection=>Estate::Category.all.map(&:name), :as=>:check_boxes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment