title: Add css class to EditorFor or validate email with jquery
body: <p>My Model is:</p>
  
  <pre><code>    [Required]
      [DataType(DataType.EmailAddress)]
      [Display(Name="Email Address")]
      public string Email { get; set; }
  </code></pre>
  
  <p>When I use <code>EditorFor(m=&gt;m.Email)</code> then the UI (JQuery Validation) validates the email address automaticaly. But I need to insert the <code>form-control</code> class to the UI control. So I changed <code>EditorFor</code> to <code>TextBoxFor</code> like:</p>
  
  <pre><code>@Html.TextBoxFor(m =&gt; m.Email , new { @class = "form-control" })
  </code></pre>
  
  <p>But now the email validation is not working.</p>
  
  <p>How can I either add the class to the <code>EditorFor</code> or add the email validation for the <code>TextBoxFor</code> (which or both is the best way?). I have other 6 properties and all are working great. All but this.</p>