search for: list_doctors

Displaying 1 result from an estimated 1 matches for "list_doctors".

2006 Jul 21
5
How to display data using helpers and collections
..."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 id="list_doctors"> <%= render :partial => ''doctor'', :collection => @doctors %> </div> ## _doctor.rhtml <%= name_field "doctor#{doctor.id}" %> How do I display the data from the doctor? I have try this and it does not work <%= name_field "docto...