What is the best way to create a linked set of checkboxes in Ruby on Rails? In the ToscaWidgets library used by Turbogears, you can do the following:
twf.CheckBoxTable('arbitrary_numbers',
num_cols=5,
options=['1','2','3','4','5','6','7','8','9','10']),
This generates 10 flagged flags in two lines of 5 flags each. I am trying to duplicate this in Rails without creating 10 separate checkbox controls. It's okay just hoping for a clean way to do it.
source
share