This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Description
@Html.ValidationSummary() and div validation-summary="All"/> currently generate
<div class="validation-summary-errors" data-valmsg-summary="true">
<ul>
<li>Something happened with your model.</li>
<li>Something happened with field Property1.</li>
</ul>
</div>
Should instead generate
<div class="validation-summary-errors" data-valmsg-summary="true">
<ul>
<li><label>Something happened with your model.</label></li>
<li><label for="Property1">Something happened with Property1.</label></li>
</ul>
</div>
The <label/> wrapping for model-level errors ensures the default styles are consistent.
See original MVC 5.2 request for more details.