AddPhoneNumber.cshtml 906 B

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