Guest User

Untitled

a guest
Dec 9th, 2019
94
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @model APPartment.Models.User
  2.  
  3. @{
  4. ViewData["Title"] = "Register";
  5. }
  6.  
  7. <h1>Register</h1>
  8. <hr />
  9. <div class="row">
  10. <div class="col-md-4">
  11. <form asp-action="Register">
  12. <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  13. <div class="form-group">
  14. <label asp-for="Username" class="control-label"></label>
  15. <input asp-for="Username" class="form-control" />
  16. <span asp-validation-for="Username" class="text-danger"></span>
  17. </div>
  18. <div class="form-group">
  19. <label asp-for="Password" class="control-label"></label>
  20. <input asp-for="Password" class="form-control" />
  21. <span asp-validation-for="Password" class="text-danger"></span>
  22. </div>
  23. <div class="form-group">
  24. <label asp-for="ConfirmPassword" class="control-label"></label>
  25. <input asp-for="ConfirmPassword" class="form-control" />
  26. <span asp-validation-for="ConfirmPassword" class="text-danger"></span>
  27. </div>
  28. <div class="form-group">
  29. <input type="submit" value="Create" class="btn btn-primary" />
  30. </div>
  31. </form>
  32. </div>
  33. </div>
  34.  
  35. @section Scripts {
  36. @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
  37. }
RAW Paste Data