column = active_scaffold_config.columns[render_field.to_sym] @rendered ||= Set.new return if @rendered.include? column.name @rendered << column.name if column_renders_as(column) == :subform options = {:is_subform => true, :field_class => "#{column.name}-sub-form"} else options = {:is_subform => false, :field_class => "#{column.name}-input"} end page.call 'ActiveScaffold.render_form_field', source_id, render(:partial => form_partial_for_column(column), :locals => { :column => column, :scope => scope }), options page << render(:partial => "render_field", :collection => column.update_columns, :locals => {:source_id => source_id, :scope => scope}) if column.update_columns && !column.update_columns.empty?