diff --git a/guides/contexts.md b/guides/contexts.md index 5079be2555..e315fa718c 100644 --- a/guides/contexts.md +++ b/guides/contexts.md @@ -936,10 +936,10 @@ Next we can create the template at `lib/hello_web/controllers/cart_html/show.htm ```heex <%= if @cart.items == [] do %> -<.header> - My Cart - <:subtitle>Your cart is empty - + <.header> + My Cart + <:subtitle>Your cart is empty + <% else %> <.header> My Cart