Call appropriate *_row functions in table layout

Call appropriate *_row functions for different row types in form table
layout.
Output collection surrounded by <table>

Output collection surrounded by <table> for the table layout.