Displaying 1 result from an estimated 1 matches for "systemhelp".
2006 Dec 05
1
Using render inside a FormBuilder (EdgeRails)
..._icon(object_name) method shown
above. This is attached to a help table, which looks up topics based on
the string passed in. This works fine.
The help_icon method in TableFormBuilder is this:
# This creates a link of system help exists, otherwise bypasses
def help_icon(help_topic)
help =
SystemHelp.find_by_help_topic(help_topic.to_s.gsub(/_id$/,''''))
if help
render :layout => false, :partial => true
else
return ''''
end
end
That doesn''t work. The error is:
undefined method `render'' for #<TableFormBuilde...