Feature #2461
Update select function on lib/tabular_form_builder.rb to allow for :label option
Status: | Closed | Start date: | 2009-01-07 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | 0.9.0 | |||
Resolution: | Fixed |
Description
The class TabularFormBuilder has a function select(..) that will build a select tag and automatically put in a label for you. The only problem is that you cannot specify your own label text. If you do check_box on the same class it will look for the option :label and use that as the label text.
Associated revisions
Refactor TabularFormBuilder field helpers (#2461).
History
#1
Updated by Jean-Philippe Lang over 13 years ago
- Status changed from New to Closed
- Target version set to 0.9.0
- Resolution set to Fixed
Done in r2247.