Trim works but trim leggings don't

Hi, in my resource pack I have made a custom armour trim but for the life of me I have no idea why the main trim works but not on the leggings. I am able to put the trim on all the armour pieces just on the leggings it show up as the missing texture texture

Continue to help post