trimming down parameter passing in the template for setting up the remove link