VerifyPhoneNumber.cshtml 997 B

1234567891011121314151617181920212223242526272829303132
  1. @model Winsoft.GOV.XF.WX.Models.VerifyPhoneNumberViewModel
  2. @{
  3. ViewBag.Title = "验证电话号码";
  4. }
  5. <h2>@ViewBag.Title。</h2>
  6. @using (Html.BeginForm("VerifyPhoneNumber", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
  7. {
  8. @Html.AntiForgeryToken()
  9. @Html.Hidden("phoneNumber", @Model.PhoneNumber)
  10. <h4>输入验证代码</h4>
  11. <h5>@ViewBag.Status</h5>
  12. <hr />
  13. @Html.ValidationSummary("", new { @class = "text-danger" })
  14. <div class="form-group">
  15. @Html.LabelFor(m => m.Code, new { @class = "col-md-2 control-label" })
  16. <div class="col-md-10">
  17. @Html.TextBoxFor(m => m.Code, new { @class = "form-control" })
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <div class="col-md-offset-2 col-md-10">
  22. <input type="submit" class="btn btn-default" value="提交" />
  23. </div>
  24. </div>
  25. }
  26. @section Scripts {
  27. @Scripts.Render("~/bundles/jqueryval")
  28. }