Interpolate tag class from the input control class:
tm-input-xxx --> tm-tag-xxx

For example <input class='tm-input tm-input-success'/> will automatically add 'tm-tag-success' to its tags.

Works dynamically so that if you modify the input tag class, any tags it creates from then on will have the new class.