1 @using (Html.BeginForm("ActionName", "ControllerName", 2 new { ReturnUrl = ViewBag.ReturnUrl }, 3 FormMethod.Post, new { @class="login-form" })) 4 { 5 etc. 6 }