change ported from default admin template

This is required in order to delete multiple items at once from the admin interface.