aspnetcore/src/MusicStore/Views/Manage/VerifyPhoneNumber.cshtml

34 lines
1.2 KiB
Plaintext

@model VerifyPhoneNumberViewModel
@{
ViewBag.Title = "Verify Phone Number";
}
<h2>@ViewBag.Title.</h2>
<form asp-controller="Manage" asp-action="VerifyPhoneNumber" method="post" class="form-horizontal" role="form">
<input asp-for="PhoneNumber" type="hidden" />
<h4>Enter verification code</h4>
<p class="text-danger">
For DEMO only: You can type in this code in the below text box to proceed: @ViewBag.Code
<br />
Please change this code to register an SMS service in IdentityConfig to send a text message.
</p>
<hr />
<div asp-validation-summary="All" class="text-danger"></div>
<div class="form-group">
<label asp-for="Code" class="col-md-2 control-label"></label>
<div class="col-md-10">
<input asp-for="Code" class="form-control" />
<span asp-validation-for="Code" class="text-danger"></span>
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" class="btn btn-default" value="Submit" />
</div>
</div>
</form>
@section Scripts {
@{await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
}