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

References #2024.
Merge pull request #2054 from shekibobo/has-many-delete-css

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