ResetPassword.cshtml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. @page
  2. @model ResetPasswordModel
  3. @{
  4. ViewData["Title"] = "Сброс пароля";
  5. }
  6. <h1>@ViewData["Title"]</h1>
  7. <h4>Укажите новый пароль.</h4>
  8. <hr />
  9. <div class="row">
  10. <div class="col-md-4">
  11. <form method="post">
  12. <div asp-validation-summary="ModelOnly" class="text-danger"></div>
  13. <input asp-for="Input.Code" type="hidden" />
  14. <div class="form-group">
  15. <label asp-for="Input.Email"></label>
  16. <input asp-for="Input.Email" class="form-control" />
  17. <span asp-validation-for="Input.Email" class="text-danger"></span>
  18. </div>
  19. <div class="form-group">
  20. <label asp-for="Input.Password"></label>
  21. <input asp-for="Input.Password" class="form-control" />
  22. <span asp-validation-for="Input.Password" class="text-danger"></span>
  23. </div>
  24. <div class="form-group">
  25. <label asp-for="Input.ConfirmPassword"></label>
  26. <input asp-for="Input.ConfirmPassword" class="form-control" />
  27. <span asp-validation-for="Input.ConfirmPassword" class="text-danger"></span>
  28. </div>
  29. <button type="submit" class="btn btn-primary">Сбросить</button>
  30. </form>
  31. </div>
  32. </div>
  33. @section Scripts {
  34. <partial name="_ValidationScriptsPartial" />
  35. }