Feature #2461

Update select function on lib/tabular_form_builder.rb to allow for :label option

Added by Blake Bigelow almost 9 years ago. Updated almost 9 years ago.

Status:ClosedStart date:2009-01-07
Priority:NormalDue 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

Revision 2247
Added by Jean-Philippe Lang almost 9 years ago

Refactor TabularFormBuilder field helpers (#2461).

History

#1 Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from New to Closed
  • Target version set to 0.9.0
  • Resolution set to Fixed

Done in r2247.

Also available in: Atom PDF