title: Set required attribute on Html.Textbox
body: <p>I'm looking to create a Bootstrap styled textbox, specifically, based on the exact example below:</p>
  
  <pre><code>&lt;input class="span3" type="email" required&gt;
  </code></pre>
  
  <p>Here's what I have so far:</p>
  
  <pre><code>@Html.TextBox("CustomerEmail", null, new { @class = "input-xlarge", type = "email", required = "required" })
  </code></pre>
  
  <p>However, <code>required = "required"</code> clearly doesn't return just <code>required</code>.</p>
  
  <p>So, my question is, is there any way I can force it to return required like in the first example above when using Html.Textbox?</p>