title: Overwriting the class on a `Html.EditorFor`
body: <p>by the default with </p>
  
  <pre><code>&lt;%: Html.EditorFor(m =&gt; m.ConfirmationHeadline) %&gt;
  </code></pre>
  
  <p>the output is:</p>
  
  <pre><code> &lt;input type="text" value="" 
          name="ConfirmationHeadline" id="ConfirmationHeadline" 
          class="text-box single-line"&gt;
  </code></pre>
  
  <p>As you can see, the input appends already a <code>class</code> attribute. Well, this should not be a problem, just use</p>
  
  <pre><code>&lt;%: Html.EditorFor(m =&gt; m.ConfirmationHeadline, new { @class="span-11 last"}) %&gt;
  </code></pre>
  
  <p>and should work... <strong>err... nope!</strong></p>
  
  <p>this will output the exact same code!</p>
  
  <p>though, works fine with <code>Html.TextAreaFor()</code></p>
  
  <p>How can I remove the class <code>text-box single-line</code> from ever appear so my own classes could be appended? any T4 template I should edited?</p>
  
  <p>Thank you for all the help.</p>