Skip to content

Commit 3078c1f

Browse files
authored
Blazor movie tutorial article updates (final) (#34137)
1 parent 26ca3e0 commit 3078c1f

File tree

1 file changed

+3
-2
lines changed
  • aspnetcore/blazor/tutorials/movie-database-app

1 file changed

+3
-2
lines changed

aspnetcore/blazor/tutorials/movie-database-app/part-3.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ The final `NavMenu` component after making the preceding changes:
127127
<input type="checkbox" title="Navigation menu" class="navbar-toggler" />
128128
129129
<div class="nav-scrollable" onclick="document.querySelector('.navbar-toggler').click()">
130-
<nav class="flex-column">
130+
<nav class="nav flex-column">
131131
<div class="nav-item px-3">
132132
<NavLink class="nav-link" href="" Match="NavLinkMatch.All">
133133
<span class="bi bi-house-door-fill-nav-menu" aria-hidden="true"></span> Home
@@ -203,6 +203,7 @@ The `MainLayout` component adopts the following additional specifications:
203203
* The `<main>` element's content includes:
204204
* An **:::no-loc text="About":::** link that sends the user to the ASP.NET Core documentation landing page.
205205
* An `<article>` element with the <xref:Microsoft.AspNetCore.Components.LayoutComponentBase.Body%2A> (`@Body`) parameter, where components that use the layout are rendered.
206+
* The error UI (`<div id="blazor-error-ui" ...>`), where a notice about an unhandled error is displayed.
206207

207208
The default layout (`MainLayout` component) is specified in the `Routes` component (`Components/Pages/Routes.razor`):
208209

@@ -439,7 +440,7 @@ CSS classes aren't present in the following example to simplify the display:
439440
```razor
440441
<EditForm method="post" Model="Movie" OnValidSubmit="AddMovie" FormName="create" Enhance>
441442
<DataAnnotationsValidator />
442-
<ValidationSummary />
443+
<ValidationSummary role="alert" />
443444
<div>
444445
<label for="title">Title:</label>
445446
<InputText id="title" @bind-Value="Movie.Title" />

0 commit comments

Comments
 (0)