Only add delete link when delete checkbox is present

Currently the delete link is inserted for every row, but it should only be added if the row has a Django DELETE checkbox.