The visibility of the delete button should be handled in the business logic rather than in the view as it is now.