template: put addnew to the last place of row