lib/dining-table/presenters/html_presenter.rb in dining-table-1.1.0 vs lib/dining-table/presenters/html_presenter.rb in dining-table-1.1.1
- old
+ new
@@ -75,10 +75,10 @@
if footers.map { |s| blank?(s) }.uniq != [ true ]
add_tag(:start, :tfoot, tag_options(:tfoot))
add_tag(:start, :tr, row_options)
columns.each_with_index do |column, index|
value = footers[index]
- configuration = cell_configuration( tags_configuration, column, :header, nil )
+ configuration = cell_configuration( tags_configuration, column, :footer, nil )
#render_footer_cell( value, column.options_for( identifier ) )
render_footer_cell( value, configuration )
end
add_tag(:end, :tr)
add_tag(:end, :tfoot)
\ No newline at end of file