title: Custom ValidationSummary template Asp.net MVC 3
body: <p>I am working on a project with Asp.Net MVC3</p>
  
  <p>In a View I have <code>@Html.ValidationSummary(true)</code> and as usually it produces </p>
  
  <pre><code>&lt;div class="validation-summary-errors"&gt;
      &lt;ul&gt;
          &lt;li&gt;Something bad Happened!&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How can I extend this ValidationSummary to MyValidationSummary and produces the Html Code template something like this: </p>
  
  <pre><code>&lt;div class="notification warning"&gt; 
      &lt;span&gt;&lt;/span&gt; 
      &lt;div class="text"&gt; &lt;p&gt;Something bad Happened!&lt;/p&gt; &lt;/div&gt; 
  &lt;/div&gt;
  </code></pre>