Add 'has_many_delete' class to `li` on new records

References #2024.