List of checkboxes, radiobuttons


I need a help for simple problem:

i have a model Post, and i have a variable @posts = Post.find(:all)

how i can create a list of checkboxes and radiobuttons for this array of
posts and get selected checkboxes, radiobutton when submit form?

Thank you

Dave S. wrote: