a better way to modify the existing templete tag submit_row