Why couldn't you allow us to pass a lambda to .HtmlAttributes() that allowed us to specify the attributes based on the value of one of the model properties?
↧