% if active_scaffold_config.list.messages_above_header %>
<% end %>
<% columns = list_columns %>
<%= render :partial => 'list_column_headings', :locals => {:columns => columns} %>
<%= render :partial => 'list_messages', :locals => {:columns => columns} %>
<% if !@records.empty? -%>
<%= render :partial => 'list_record', :collection => @page.items, :locals => {:hidden => false, :columns => columns, :action_links => active_scaffold_config.action_links.member, :data_refresh => url_for(params_for(:action => :row, :id => '--ID--', :_method => :get))} %>
<% end -%>
<% if columns.any? {|c| c.calculation?} -%>
<%= render :partial => 'list_calculations', :locals => {:columns => columns} %>
<% end -%>
<%= render :partial => 'list_pagination' %>