I have functionality search above tags. I want to render all tags with check\_box in form\_for that I will filter those tags and render all items again with new parameters.

```
= form_for @tags do |f|
  - @tags.each do |tag|
    f.check_box(#{tag}, "yes")
    f.label_tag "#{tag}"
  f.submit 'Filter'
end

```