MRCollective / ChameleonForms

Shape-shifting your forms experience in ASP.NET Core MVC
MIT License
254 stars 56 forks source link

Copied across class attribute from field configuration to the label #21

Closed robdmoore closed 11 years ago

MattDavies commented 11 years ago

What situation does this solve (unless it's obvious in a later PR...)? Should we be using the same class as the one intended for the field or letting the user set them differently?

robdmoore commented 11 years ago

At the moment it solves the problem that you can't set a class on labels at all.

This makes it the same as the field.

Alternatively, we can either have a separate class for the label or allow a class for the container or leave it to the template to determine.

MattDavies commented 11 years ago

Works for now :)