Displaying 1 result from an estimated 1 matches for "column_display_nam".
Did you mean:
column_display_name
2006 Dec 12
2
RXML partial question
...:layout => false,
:locals => {:parent_xml => xml,
:buttons => buttons,
:obj => obj}) if buttons_first
========== snippet of RXML partial ================
columns.each do |col_array|
attr_name = col_array[0]
column_display_name = col_array[1]
value = eval("obj.#{attr_name}")
column_contents = (column_display_name == ''Fax Number'' ?
number_to_phone(value, {:area_code => true}) :
value)
parent_xml.td(column_contents, :id => "#{obj.id}...