Displaying 1 result from an estimated 1 matches for "doctor_1_given_nam".
Did you mean:
doctor_1_given_names
2006 Jul 21
5
How to display data using helpers and collections
## application_helper.rb
def name_field(object, options = {} )
html = ""
html << "Title : " + select(object, ''title'')
html << "Given Names :" + text_field(object, ''given_names''
html << "Family Name :" + text_field(object, ''family_name''
html
end
## index.rhtml
<div