如何在MVC4中为@ Html.EditorForModel()应用样式

时间:2014-03-18 15:29:40

标签: css asp.net-mvc-4 styles

我想将样式应用于@ Html.EditorForModel()。这是代码段

@using (Html.BeginForm("LogOn", "Account", new { area = "", returnUrl = returnUrl }, FormMethod.Post)) {
  using (Html.BtFieldset(Loc("legend", "Credentials"))) {
  @Html.EditorForModel()
  <div class="col-md-offset-4">
    @Button.Submit(ViewResources.Action_Common_Logon)
  </div>
  } 

0 个答案:

没有答案