@page
@model IndexModel
@{
}

<div class="text-center">
    <h1 class="display-4">AllowEmptyStrings = false</h1>
</div>

<form method="post">
    <div class="form-group">
        <label asp-for="Kp.S1"></label>
        <input asp-for="Kp.S1" class="form-control" />
        <span asp-validation-for="Kp.S1" class="text-danger"></span>
    </div>
    <div class="form-group">
        <label asp-for="Kp.S2"></label>
        <input asp-for="Kp.S2" class="form-control" />
        <span asp-validation-for="Kp.S2" class="text-danger"></span>
    </div>
    <div class="form-group" style="margin-top:20px">
        <input type="submit" value="Send" class="btn btn-primary" />
    </div>
</form>

@section Scripts {
    @{
        await Html.RenderPartialAsync("_ValidationScriptsPartial");
    }
}
