title: MVC5 and Bootstrap3: Html.EditorFor wrong class? How to change?
body: <p>I just noticed that MVC 5 is using a different class for input fields when using EditorFor. I think its from a lower version of bootstrap, so the current class doesn't really add up. </p>
  
  <p>I'm talking about this:</p>
  
  <pre><code>&lt;div class="form-group"&gt;
      @Html.LabelFor(model =&gt; model.Contact.CellphoneNo, new { @class = "control-label col-md-4"})
         &lt;div class="col-md-8"&gt;
             @Html.EditorFor(model =&gt; model.Contact.CellphoneNo)
             @Html.ValidationMessageFor(model =&gt; model.Contact.CellphoneNo)
         &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Which results to this:</p>
  
  <pre><code>&lt;div class="form-group"&gt;
      &lt;label class="control-label col-md-4" for="Contact_CellphoneNo"&gt;CellphoneNo&lt;/label&gt;
      &lt;div class="col-md-8"&gt;
          &lt;input class="text-box single-line" id="Contact_CellphoneNo" name="Contact.CellphoneNo" type="text" value=""&gt;
          &lt;span class="field-validation-valid" data-valmsg-for="Contact.CellphoneNo" data-valmsg-replace="true"&gt;&lt;/span&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>When you look at the  tag, it has a <strong>"text-box"</strong> class instead of Bootstrap3's <strong>"form-control"</strong></p>
  
  <p>I think I read around somewhere that this was due to the fact of MVC5 switching to Bootstrap 3 at the last minute or something.</p>
  
  <hr>
  
  <p>Question is: How do I change that class manually? I want to be able to change text-box to form-control. I can't really find the code though.</p>
  
  <p>I've also tried this already</p>
  
  <pre><code>@Html.EditorFor(model =&gt; model.CivilStatus, new { @class = "form-control" })
  @Html.ValidationMessageFor(model =&gt; model.CivilStatus)
  </code></pre>
  
  <p>Which doesn't seem to work. I'm stumped. Any ideas?</p>
  
  <p>Thanks in advance!</p>