<% record = list_record if list_record # compat with render :partial :collection dont_show_calculations ||= false tr_class = cycle("", "even-record") tr_class += " #{list_row_class(record)}" if respond_to? :list_row_class url_options = params_for(:action => :list, :id => record.id) # AST show_actions_column show_actions_column = active_scaffold_config.show_actions_column and active_scaffold_config.action_links.any? {|link| link.type == :record } -%> <%# AST Begin -%> <%= render :partial => 'list_record_actions', :locals => {:record => record, :url_options => url_options} if active_scaffold_config.left_handed and show_actions_column %> <%= render :partial => 'list_record_columns', :locals => {:record => record, :url_options => url_options} %> <%= render :partial => 'list_record_actions', :locals => {:record => record, :url_options => url_options} if !active_scaffold_config.left_handed and show_actions_column %> <%# AST End -%> <% target_id = element_row_id(:action => :list, :id => record.id) -%>