Skip to content

Commit

Permalink
Update improvements.md
Browse files Browse the repository at this point in the history
  • Loading branch information
markjprice committed Jun 8, 2023
1 parent e434ab9 commit adb70ce
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/errata/improvements.md
Original file line number Diff line number Diff line change
Expand Up @@ -1192,10 +1192,12 @@ public async Task<IActionResult> DeleteCustomerPost(string customerId)
<div class="form-text">
Customer ID must be five (5) upper case characters.
</div>
<span asp-validation-for="CustomerId" class="text-danger" />
</div>
<div class="mb-3">
<label class="form-label" asp-for="CompanyName">Company Name</label>
<input class="form-control" asp-for="CompanyName" />
<span asp-validation-for="CompanyName" class="text-danger" />
</div>
<div class="mb-3">
<label class="form-label" asp-for="ContactName">Contact Name</label>
Expand Down Expand Up @@ -1232,9 +1234,15 @@ public async Task<IActionResult> DeleteCustomerPost(string customerId)
class="btn btn-outline-secondary">
Cancel and return to Customers
</a>
@Html.ValidationSummary()
<div asp-validation-summary="All" class="text-danger" />
</div>
</form>

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

**DeleteCustomer.cshtml Razor view**
Expand Down

0 comments on commit adb70ce

Please sign in to comment.