title: How to extend the ValidationSummary HTML Helper in ASP.NET MVC?
body: <p>I need to wrap the Validation Summary in a <em>div</em>.  How do I set the Validation Summary to wrap it with a <em>div</em> when errors are present?</p>
  
  <pre><code>&lt;div class="validation-summary"&gt; 
    &lt;%= Html.ValidationSummary("Login was unsuccessful. Please correct the errors and try again.") %&gt;
  &lt;/div&gt;
  </code></pre>