Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Gives each input group a class that can be styled #63
This is a minor change that I've been making. it is just adding a class, based on the field id, to each control group. This means each one has a class that can be styled in css. I've found this really useful for front end editing.
In normal use, it wont really change anything, but having the class there provides much greater flexibility in styling.
As well as styling, it can be very useful for jQuery UI logic. We often have use cases where some fields get shown of hidden, depending on the value of other fields. If each field has a unique class it means they can be shown of hidden using that as a jQuery selector.
I hope this sounds ok, let me know what you think.