Displaying 1 result from an estimated 1 matches for "table_form_builder".
2006 Dec 05
1
Using render inside a FormBuilder (EdgeRails)
...ndering how to do what
I want to do. I am using a form_for :builder I wrote, simply called
TableFormBuilder after the rails cookbook, and want to be able to
present help icons automatically. I want these icons to appear next to
form fields I am rendering.
For example, I have this method in helpers/table_form_builder.rb:
# This enables you to use select groups like text fields
def select_group(object_name, choices, options = {}, html_options =
{})
human = options.delete(:human) || object_name.to_s.gsub(/_id$/,
'''').humanize
if options.delete(:required)
human = human.required...