added lastrow template tag to add the 'add sample submission' form on the last row of each sample submission table