Moved the commit button to the top of the list in a tfoot tag so that it appears even when there are errors